diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2006-03-15 13:29:19 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2006-03-15 13:29:19 (GMT) |
commit | 598f8a00311da62446be6cb169bb00a39f45cab3 (patch) | |
tree | 2ff6c69704a9a784858d83cd4ee81a5a5ac54a8a /Lib/test | |
parent | 586b83c4bb01faa0b1e23badf94efe7c7ab1185e (diff) | |
download | cpython-598f8a00311da62446be6cb169bb00a39f45cab3.zip cpython-598f8a00311da62446be6cb169bb00a39f45cab3.tar.gz cpython-598f8a00311da62446be6cb169bb00a39f45cab3.tar.bz2 |
Don't try to explicitly set path in runpy package tests (tests were broken on Windows)
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_runpy.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/test/test_runpy.py b/Lib/test/test_runpy.py index 5d8607b..ffd886a 100644 --- a/Lib/test/test_runpy.py +++ b/Lib/test/test_runpy.py @@ -101,7 +101,6 @@ class RunModuleTest(unittest.TestCase): if verbose: print " Next level in:", sub_dir pkg_fname = os.path.join(sub_dir, init_fname) pkg_file = open(pkg_fname, "w") - pkg_file.write("__path__ = ['%s']\n" % sub_dir) pkg_file.close() if verbose: print " Created:", pkg_fname mod_fname = os.path.join(sub_dir, test_fname) |