Skip to content

Commit 1714735

Browse files
authored
Fix a potential variable misuse bug (#1494)
1 parent 5693e0e commit 1714735

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Src/StdLib/Lib/test/test_functools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1195,7 +1195,7 @@ class D(c.defaultdict):
11951195
c.MutableSequence.register(D)
11961196
bases = [c.MutableSequence, c.MutableMapping]
11971197
for haystack in permutations(bases):
1198-
m = mro(D, bases)
1198+
m = mro(D, haystack)
11991199
self.assertEqual(m, [D, c.MutableSequence, c.Sequence,
12001200
c.defaultdict, dict, c.MutableMapping,
12011201
c.Mapping, c.Sized, c.Iterable, c.Container,

0 commit comments

Comments
 (0)