diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2014-07-31 00:44:20 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2014-07-31 00:58:18 +0200 |
commit | 1f6f2ad8c33e58cfd40ea0370e6d2dfbd6040026 (patch) | |
tree | a60f4be4977723ad6db6ed4bbc2663fa3f9b0594 /tests | |
parent | 83df730dd21ce52670a593455cfe5e732989a90d (diff) | |
download | libsigrokdecode-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-x | tests/pdtest | 2 |
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. |