summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_strlit.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_strlit.py')
-rw-r--r--Lib/test/test_strlit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_strlit.py b/Lib/test/test_strlit.py
index a6033a4..1f041c8 100644
--- a/Lib/test/test_strlit.py
+++ b/Lib/test/test_strlit.py
@@ -65,7 +65,7 @@ class TestLiterals(unittest.TestCase):
sys.path.insert(0, self.tmpdir)
def tearDown(self):
- sys.path = self.save_path
+ sys.path[:] = self.save_path
shutil.rmtree(self.tmpdir, ignore_errors=True)
def test_template(self):