summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_bdb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_bdb.py b/Lib/test/test_bdb.py
index ed1a63d..10c58c0 100644
--- a/Lib/test/test_bdb.py
+++ b/Lib/test/test_bdb.py
@@ -1046,8 +1046,9 @@ class RunTestCase(BaseTestCase):
('return', 1, '<module>'), ('quit', ),
]
import test_module_for_bdb
+ ns = {'test_module_for_bdb': test_module_for_bdb}
with TracerRun(self) as tracer:
- tracer.runeval('test_module_for_bdb.main()', globals(), locals())
+ tracer.runeval('test_module_for_bdb.main()', ns, ns)
class IssuesTestCase(BaseTestCase):
"""Test fixed bdb issues."""