[Python-checkins] r43050 - python/trunk/Lib/test/test_runpy.py

nick.coghlan python-checkins at python.org
Wed Mar 15 14:29:20 CET 2006


Author: nick.coghlan
Date: Wed Mar 15 14:29:19 2006
New Revision: 43050

Modified:
   python/trunk/Lib/test/test_runpy.py
Log:
Don't try to explicitly set path in runpy package tests (tests were broken on Windows)

Modified: python/trunk/Lib/test/test_runpy.py
==============================================================================
--- python/trunk/Lib/test/test_runpy.py	(original)
+++ python/trunk/Lib/test/test_runpy.py	Wed Mar 15 14:29:19 2006
@@ -101,7 +101,6 @@
             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)


More information about the Python-checkins mailing list