From 45653a376f05fa502e517d3e77a86b5c024abd95 Mon Sep 17 00:00:00 2001 From: David Glick Date: Sun, 14 Oct 2018 11:39:28 -0400 Subject: [PATCH] No list.copy in Python 2 --- src/z3c/autoinclude/tests/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/z3c/autoinclude/tests/tests.py b/src/z3c/autoinclude/tests/tests.py index cd980e9..4e5e320 100644 --- a/src/z3c/autoinclude/tests/tests.py +++ b/src/z3c/autoinclude/tests/tests.py @@ -60,7 +60,7 @@ def testSetUp(test): testing.buildoutSetUp(test) import tempfile target_dir = tempfile.mkdtemp('.z3c.autoinclude.test-installs') - test._old_path = sys.path.copy() + test._old_path = list(sys.path) install_projects(test_packages, target_dir)