From 1f6f2ad8c33e58cfd40ea0370e6d2dfbd6040026 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 31 Jul 2014 00:44:20 +0200 Subject: 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' --- tests/pdtest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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. -- cgit v1.2.3-70-g09d2