]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34185: Fix test module collision in test_bdb when ran as script. (GH-8537)
authorAlex H <1884912+lajarre@users.noreply.github.com>
Wed, 5 Dec 2018 19:32:16 +0000 (20:32 +0100)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 5 Dec 2018 19:32:16 +0000 (21:32 +0200)
commit54fd45505b3a365e6d53441e6dd7e0d1ec13b46f
tree0d444876572fdcd2759105187a0ca37208f7f64b
parent34c7f0c04e2b4e715b2c3df1875af8939fbe7d0b
bpo-34185: Fix test module collision in test_bdb when ran as script. (GH-8537)

When running test_bdb.py as a script, `import test_module` would be
importing the existing Lib/test/test_modules.py instead of the
tempcwd/test_module.py module which was dynamically created by
test_bdb.py itself.
Lib/test/test_bdb.py