mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
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
1 changed files with 0 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue