summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_builtin.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-06 00:07:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-02-06 00:07:11 (GMT)
commitf80680d8cdb7503c4b34e2c5a014d7c4f6e5817d (patch)
treec02f8db2179cce9a87317c373dcb733d6f2134c0 /Lib/test/test_builtin.py
parent554c8b856cbeb29f3fef0350846aef442832acac (diff)
downloadcpython-f80680d8cdb7503c4b34e2c5a014d7c4f6e5817d.zip
cpython-f80680d8cdb7503c4b34e2c5a014d7c4f6e5817d.tar.gz
cpython-f80680d8cdb7503c4b34e2c5a014d7c4f6e5817d.tar.bz2
Migrate remaining tests from UserDict.UserDict to collections.UserDict.
Diffstat (limited to 'Lib/test/test_builtin.py')
-rw-r--r--Lib/test/test_builtin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_builtin.py b/Lib/test/test_builtin.py
index 1b9edc0..b17133a 100644
--- a/Lib/test/test_builtin.py
+++ b/Lib/test/test_builtin.py
@@ -5,7 +5,7 @@ from test.test_support import fcmp, TESTFN, unlink, run_unittest, \
run_with_locale
from operator import neg
-import sys, warnings, random, UserDict, io, rational
+import sys, warnings, random, collections, io, rational
warnings.filterwarnings("ignore", "hex../oct.. of negative int",
FutureWarning, __name__)
warnings.filterwarnings("ignore", "integer argument expected",
@@ -400,7 +400,7 @@ class BuiltinTest(unittest.TestCase):
# Verify locals stores (used by list comps)
eval('[locals() for i in (2,3)]', g, d)
- eval('[locals() for i in (2,3)]', g, UserDict.UserDict())
+ eval('[locals() for i in (2,3)]', g, collections.UserDict())
class SpreadSheet:
"Sample application showing nested, calculated lookups."