mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Merge 3.3 into default.
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:
commit
f4ecfae75f
1 changed files with 1 additions and 1 deletions
|
@ -1672,7 +1672,7 @@ class TestVariousIteratorArgs(unittest.TestCase):
|
|||
for meth in (s.union, s.intersection, s.difference, s.symmetric_difference, s.isdisjoint):
|
||||
for g in (G, I, Ig, L, R):
|
||||
expected = meth(data)
|
||||
actual = meth(G(data))
|
||||
actual = meth(g(data))
|
||||
if isinstance(expected, bool):
|
||||
self.assertEqual(actual, expected)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue