Skip to content

Commit

Permalink
No list.copy in Python 2
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli committed Oct 14, 2018
1 parent 88f3f7d commit 45653a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/z3c/autoinclude/tests/tests.py
Expand Up @@ -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)


Expand Down

0 comments on commit 45653a3

Please sign in to comment.