Don't try to explicitly set path in runpy package tests (tests were broken on Windows)

This commit is contained in:
Nick Coghlan 2006-03-15 13:29:19 +00:00
parent 586b83c4bb
commit 598f8a0031
1 changed files with 0 additions and 1 deletions

View File

@ -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)