summaryrefslogtreecommitdiff
path: root/Lib/test/test_dbm.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 +0000
committerBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 +0000
commitee8712cda46338d223509cc5751fd36509ad3860 (patch)
treebb9d363b4276566415457980472001c7e3ec2bed /Lib/test/test_dbm.py
parent6a654814ea3f3a918935762ffdcd33ae98e00278 (diff)
downloadcpython-git-ee8712cda46338d223509cc5751fd36509ad3860.tar.gz
#2621 rename test.test_support to test.support
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()