summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_shelve.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-05-20 21:35:26 (GMT)
commitee8712cda46338d223509cc5751fd36509ad3860 (patch)
treebb9d363b4276566415457980472001c7e3ec2bed /Lib/test/test_shelve.py
parent6a654814ea3f3a918935762ffdcd33ae98e00278 (diff)
downloadcpython-ee8712cda46338d223509cc5751fd36509ad3860.zip
cpython-ee8712cda46338d223509cc5751fd36509ad3860.tar.gz
cpython-ee8712cda46338d223509cc5751fd36509ad3860.tar.bz2
#2621 rename test.test_support to test.support
Diffstat (limited to 'Lib/test/test_shelve.py')
-rw-r--r--Lib/test/test_shelve.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_shelve.py b/Lib/test/test_shelve.py
index 6d917ff..5fb4641 100644
--- a/Lib/test/test_shelve.py
+++ b/Lib/test/test_shelve.py
@@ -1,7 +1,7 @@
import unittest
import shelve
import glob
-from test import test_support
+from test import support
from collections import MutableMapping
from test.test_anydbm import dbm_iterator
@@ -45,7 +45,7 @@ class TestCase(unittest.TestCase):
def tearDown(self):
for f in glob.glob(self.fn+"*"):
- test_support.unlink(f)
+ support.unlink(f)
def test_ascii_file_shelf(self):
s = shelve.open(self.fn, protocol=0)
@@ -133,7 +133,7 @@ class TestShelveBase(mapping_tests.BasicTestMappingProtocol):
self._db = []
if not self._in_mem:
for f in glob.glob(self.fn+"*"):
- test_support.unlink(f)
+ support.unlink(f)
class TestAsciiFileShelve(TestShelveBase):
_args={'protocol':0}
@@ -156,7 +156,7 @@ class TestProto2MemShelve(TestShelveBase):
def test_main():
for module in dbm_iterator():
- test_support.run_unittest(
+ support.run_unittest(
TestAsciiFileShelve,
TestBinaryFileShelve,
TestProto2FileShelve,