diff options
author | Guido van Rossum <guido@python.org> | 2001-08-07 17:50:06 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-08-07 17:50:06 (GMT) |
commit | 288cd2cb69dc61d3fe1b18564d62ddb280a6568a (patch) | |
tree | e98e7c24621f189dee3d8dd61fffea78f2ffa11f /Lib/test/test_userdict.py | |
parent | 2050b65e84c01651f1b37b7ab058ec958fd14a53 (diff) | |
download | cpython-288cd2cb69dc61d3fe1b18564d62ddb280a6568a.zip cpython-288cd2cb69dc61d3fe1b18564d62ddb280a6568a.tar.gz cpython-288cd2cb69dc61d3fe1b18564d62ddb280a6568a.tar.bz2 |
Fix the test so it uses IterableUserDict for the "for x in dict" test.
Diffstat (limited to 'Lib/test/test_userdict.py')
-rw-r--r-- | Lib/test/test_userdict.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_userdict.py b/Lib/test/test_userdict.py index 9aa01d0..49be8c6 100644 --- a/Lib/test/test_userdict.py +++ b/Lib/test/test_userdict.py @@ -1,7 +1,7 @@ # Check every path through every method of UserDict from test_support import verify, verbose -from UserDict import UserDict +from UserDict import UserDict, IterableUserDict d0 = {} d1 = {"one": 1} @@ -12,7 +12,7 @@ d2 = {"one": 1, "two": 2} u = UserDict() u0 = UserDict(d0) u1 = UserDict(d1) -u2 = UserDict(d2) +u2 = IterableUserDict(d2) uu = UserDict(u) uu0 = UserDict(u0) |