diff options
Diffstat (limited to 'Lib/bsddb/test/test_misc.py')
| -rw-r--r-- | Lib/bsddb/test/test_misc.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_misc.py b/Lib/bsddb/test/test_misc.py index a9228f9..9a790e7 100644 --- a/Lib/bsddb/test/test_misc.py +++ b/Lib/bsddb/test/test_misc.py @@ -12,6 +12,11 @@ except ImportError: # For Python 2.3 from bsddb import db, dbshelve, hashopen +try: + from bsddb3 import test_support +except ImportError: + from test import test_support + #---------------------------------------------------------------------- class MiscTestCase(unittest.TestCase): @@ -25,7 +30,6 @@ class MiscTestCase(unittest.TestCase): pass def tearDown(self): - from test import test_support test_support.unlink(self.filename) test_support.rmtree(self.homeDir) |
