Don't try to explicitly set path in runpy package tests (tests were broken on Windows)
This commit is contained in:
parent
586b83c4bb
commit
598f8a0031
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue