diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-10-05 15:37:41 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-10-05 15:37:41 (GMT) |
commit | 047b7ae56628717160eb75e379e2bfdaa59dfc18 (patch) | |
tree | 5fce44a78310c538882fca71eea5e99a5f7b81c8 /Lib/test/test_source_encoding.py | |
parent | 8f437aac068e13fe8418bb0374baf4395e7b4994 (diff) | |
download | cpython-047b7ae56628717160eb75e379e2bfdaa59dfc18.zip cpython-047b7ae56628717160eb75e379e2bfdaa59dfc18.tar.gz cpython-047b7ae56628717160eb75e379e2bfdaa59dfc18.tar.bz2 |
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 0c41e50..39a7c56 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 |