diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-12-05 20:04:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 20:04:57 (GMT) |
commit | bacc272afc165df21c607aae4ff7bfa21ae1979d (patch) | |
tree | bfd782d82935f5b9536fe0bb84e94de50a4e85c8 /Python/pythonrun.c | |
parent | c7976da5c262be818a06c344d43ac09b1083c80b (diff) | |
download | cpython-bacc272afc165df21c607aae4ff7bfa21ae1979d.zip cpython-bacc272afc165df21c607aae4ff7bfa21ae1979d.tar.gz cpython-bacc272afc165df21c607aae4ff7bfa21ae1979d.tar.bz2 |
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.
(cherry picked from commit 54fd45505b3a365e6d53441e6dd7e0d1ec13b46f)
Co-authored-by: Alex H <1884912+lajarre@users.noreply.github.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions