summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_import.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-10-05 15:38:45 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2014-10-05 15:38:45 (GMT)
commitd577cea8ab0d929c40de93947dd68b9709607b35 (patch)
tree6c3075232ff9b70ecd47a10e954f7d6403485b2a /Lib/test/test_import.py
parentf4e4b83824318c2415e1d90d00726d07ba8790b9 (diff)
parentbed04a77ee4dde8e1ab7b00557519f01cac734aa (diff)
downloadcpython-d577cea8ab0d929c40de93947dd68b9709607b35.zip
cpython-d577cea8ab0d929c40de93947dd68b9709607b35.tar.gz
cpython-d577cea8ab0d929c40de93947dd68b9709607b35.tar.bz2
Merge 3.4
Diffstat (limited to 'Lib/test/test_import.py')
-rw-r--r--Lib/test/test_import.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_import.py b/Lib/test/test_import.py
index 781a159..b4842c5 100644
--- a/Lib/test/test_import.py
+++ b/Lib/test/test_import.py
@@ -1062,6 +1062,7 @@ class ImportTracebackTests(unittest.TestCase):
# Issue #11619: The Python parser and the import machinery must not
# encode filenames, especially on Windows
pyname = script_helper.make_script('', TESTFN_UNENCODABLE, 'pass')
+ self.addCleanup(unlink, pyname)
name = pyname[:-3]
script_helper.assert_python_ok("-c", "mod = __import__(%a)" % name,
__isolated=False)