diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-10-05 17:37:41 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-10-05 17:37:41 +0200 |
commit | 138a5d3f25ad71baf2e99628c1f8b98b40934cf4 (patch) | |
tree | 218cd5a90e6f00ded1051aad0aa7dd59bdbe0d75 /Lib/test/test_source_encoding.py | |
parent | f42d0d8b346b70c06a5f72d2005e1315b594faad (diff) | |
download | cpython-138a5d3f25ad71baf2e99628c1f8b98b40934cf4.tar.gz |
Issue #22390: Remove files created by tests
Diffstat (limited to 'Lib/test/test_source_encoding.py')
-rw-r--r-- | Lib/test/test_source_encoding.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_source_encoding.py b/Lib/test/test_source_encoding.py index 0c41e50662..39a7c56019 100644 --- a/Lib/test/test_source_encoding.py +++ b/Lib/test/test_source_encoding.py @@ -1,7 +1,7 @@ # -*- coding: koi8-r -*- import unittest -from test.support import TESTFN, unlink, unload +from test.support import TESTFN, unlink, unload, rmtree import importlib import os import sys @@ -129,6 +129,7 @@ class SourceEncodingTest(unittest.TestCase): unlink(filename + "c") unlink(filename + "o") unload(TESTFN) + rmtree('__pycache__') def test_error_from_string(self): # See http://bugs.python.org/issue6289 |