From 598f8a00311da62446be6cb169bb00a39f45cab3 Mon Sep 17 00:00:00 2001 From: Nick Coghlan Date: Wed, 15 Mar 2006 13:29:19 +0000 Subject: Don't try to explicitly set path in runpy package tests (tests were broken on Windows) --- Lib/test/test_runpy.py | 1 - 1 file changed, 1 deletion(-) 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) -- cgit v0.12