Issue 18944: fix a 1-character typo in test_set.py.

The error caused test_inline_methods() to test much less than intended.
Caught (& fixed) by Armin Rigo.
This commit is contained in:
Tim Peters 2013-09-06 15:41:30 -05:00
parent f315df31bd
commit 23d7d4e85c
1 changed files with 1 additions and 1 deletions

View File

@ -1674,7 +1674,7 @@ class TestVariousIteratorArgs(unittest.TestCase):
for meth in (s.union, s.intersection, s.difference, s.symmetric_difference, s.isdisjoint): for meth in (s.union, s.intersection, s.difference, s.symmetric_difference, s.isdisjoint):
for g in (G, I, Ig, L, R): for g in (G, I, Ig, L, R):
expected = meth(data) expected = meth(data)
actual = meth(G(data)) actual = meth(g(data))
if isinstance(expected, bool): if isinstance(expected, bool):
self.assertEqual(actual, expected) self.assertEqual(actual, expected)
else: else: