aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Jacob <me@manueljacob.de>2016-02-25 14:04:10 +0100
committerManuel Jacob <me@manueljacob.de>2016-02-25 14:04:10 +0100
commit09e4495f5f97eb1ac5e0f6aebad6b59b380ca59e (patch)
treed8e16f12e72b2d148375b383675c5231573be3a2 /pypy/module
parentReset sys.dont_write_bytecode because apparently the tests are not independen... (diff)
downloadpypy-09e4495f5f97eb1ac5e0f6aebad6b59b380ca59e.tar.gz
pypy-09e4495f5f97eb1ac5e0f6aebad6b59b380ca59e.tar.bz2
pypy-09e4495f5f97eb1ac5e0f6aebad6b59b380ca59e.zip
Try to make import tests more independent from each other.
Diffstat (limited to 'pypy/module')
-rw-r--r--pypy/module/imp/test/test_import.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pypy/module/imp/test/test_import.py b/pypy/module/imp/test/test_import.py
index 2dbd7380e7..0a35071cd1 100644
--- a/pypy/module/imp/test/test_import.py
+++ b/pypy/module/imp/test/test_import.py
@@ -150,6 +150,8 @@ def _setup(space):
""")
def _teardown(space, w_saved_modules):
+ p = udir.join('impsubdir')
+ p.remove()
space.appexec([w_saved_modules], """
((saved_path, saved_modules)):
import sys