Commit 288cd2cb authored by Guido van Rossum's avatar Guido van Rossum

Fix the test so it uses IterableUserDict for the "for x in dict" test.

parent 2050b65e
# 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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment