summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2014-07-31 00:44:20 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2014-07-31 00:58:18 +0200
commit1f6f2ad8c33e58cfd40ea0370e6d2dfbd6040026 (patch)
treea60f4be4977723ad6db6ed4bbc2663fa3f9b0594 /tests
parent83df730dd21ce52670a593455cfe5e732989a90d (diff)
downloadlibsigrokdecode-1f6f2ad8c33e58cfd40ea0370e6d2dfbd6040026.tar.gz
libsigrokdecode-1f6f2ad8c33e58cfd40ea0370e6d2dfbd6040026.zip
tests/pdtest: Small fix to make it work with Python 3.2.
Python 3.2 doesn't yet have the copy() method for lists: AttributeError: 'list' object has no attribute 'copy'
Diffstat (limited to 'tests')
-rwxr-xr-xtests/pdtest2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pdtest b/tests/pdtest
index 55718be..d0717a8 100755
--- a/tests/pdtest
+++ b/tests/pdtest
@@ -309,7 +309,7 @@ def run_tests(tests, fix=False):
pd_cvg = []
for tclist in tests[pd]:
for tc in tclist:
- args = cmd.copy()
+ args = cmd[:]
if DEBUG > 1:
args.append('-d')
# Set up PD stack for this test.