summaryrefslogtreecommitdiff
path: root/Lib/test/test_dbm.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dbm.py')
-rwxr-xr-xLib/test/test_dbm.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_dbm.py b/Lib/test/test_dbm.py
index 44b712c3c6..2c6ce9902a 100755
--- a/Lib/test/test_dbm.py
+++ b/Lib/test/test_dbm.py
@@ -1,4 +1,4 @@
-from test import test_support
+from test import support
import unittest
import os
import random
@@ -8,13 +8,13 @@ from dbm import error
class DbmTestCase(unittest.TestCase):
def setUp(self):
- self.filename = test_support.TESTFN
+ self.filename = support.TESTFN
self.d = dbm.open(self.filename, 'c')
self.d.close()
def tearDown(self):
for suffix in ['', '.pag', '.dir', '.db']:
- test_support.unlink(self.filename + suffix)
+ support.unlink(self.filename + suffix)
def test_keys(self):
self.d = dbm.open(self.filename, 'c')
@@ -34,7 +34,7 @@ class DbmTestCase(unittest.TestCase):
self.fail()
def test_main():
- test_support.run_unittest(DbmTestCase)
+ support.run_unittest(DbmTestCase)
if __name__ == '__main__':
test_main()