summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_whichdb.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_whichdb.py')
-rw-r--r--Lib/test/test_whichdb.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_whichdb.py b/Lib/test/test_whichdb.py
index e63eb0f..d908ac5 100644
--- a/Lib/test/test_whichdb.py
+++ b/Lib/test/test_whichdb.py
@@ -4,14 +4,14 @@
"""
import os
-import test.test_support
+import test.support
import unittest
import whichdb
import anydbm
import glob
from test.test_anydbm import delete_files, dbm_iterator
-_fname = test.test_support.TESTFN
+_fname = test.support.TESTFN
class WhichDBTestCase(unittest.TestCase):
# Actual test methods are added to namespace
@@ -27,7 +27,7 @@ class WhichDBTestCase(unittest.TestCase):
name = module.__name__
if name == 'dumbdbm':
continue # whichdb can't support dumbdbm
- test.test_support.unlink(_fname)
+ test.support.unlink(_fname)
f = module.open(_fname, 'c')
f.close()
self.assertEqual(name, whichdb.whichdb(_fname))
@@ -50,7 +50,7 @@ class WhichDBTestCase(unittest.TestCase):
def test_main():
try:
- test.test_support.run_unittest(WhichDBTestCase)
+ test.support.run_unittest(WhichDBTestCase)
finally:
delete_files()