aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/list_tests.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/list_tests.py
parent6a654814ea3f3a918935762ffdcd33ae98e00278 (diff)
downloadcpython-ee8712cda46338d223509cc5751fd36509ad3860.tar.gz
cpython-ee8712cda46338d223509cc5751fd36509ad3860.zip
#2621 rename test.test_support to test.support
Diffstat (limited to 'Lib/test/list_tests.py')
-rw-r--r--Lib/test/list_tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/list_tests.py b/Lib/test/list_tests.py
index 4ffa6684e65..6250908ba56 100644
--- a/Lib/test/list_tests.py
+++ b/Lib/test/list_tests.py
@@ -5,7 +5,7 @@ Tests common to list and UserList.UserList
import sys
import os
-from test import test_support, seq_tests
+from test import support, seq_tests
def CmpToKey(mycmp):
'Convert a cmp= function into a key= function'
@@ -66,14 +66,14 @@ class CommonTest(seq_tests.CommonTest):
d.append(d)
d.append(400)
try:
- fo = open(test_support.TESTFN, "w")
+ fo = open(support.TESTFN, "w")
fo.write(str(d))
fo.close()
- fo = open(test_support.TESTFN, "r")
+ fo = open(support.TESTFN, "r")
self.assertEqual(fo.read(), repr(d))
finally:
fo.close()
- os.remove(test_support.TESTFN)
+ os.remove(support.TESTFN)
def test_set_subscript(self):
a = self.type2test(range(20))