summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2006-03-15 13:29:19 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2006-03-15 13:29:19 (GMT)
commit598f8a00311da62446be6cb169bb00a39f45cab3 (patch)
tree2ff6c69704a9a784858d83cd4ee81a5a5ac54a8a /Lib
parent586b83c4bb01faa0b1e23badf94efe7c7ab1185e (diff)
downloadcpython-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')
-rw-r--r--Lib/test/test_runpy.py1
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)