cpython: b6059bac8a9c (original) (raw)
Mercurial > cpython
changeset 85579:b6059bac8a9c 3.3
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.
Tim Peters tim@python.org | |
---|---|
date | Fri, 06 Sep 2013 15:41:30 -0500 |
parents | 7611e7244bdd |
children | 4b64166d5abb c3a2c0504960 |
files | Lib/test/test_set.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-)[+] [-] Lib/test/test_set.py 2 |
line wrap: on
line diff
--- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -1674,7 +1674,7 @@ class TestVariousIteratorArgs(unittest.T 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))[](#l1.7)
actual = meth(g(data))[](#l1.8) if isinstance(expected, bool):[](#l1.9) self.assertEqual(actual, expected)[](#l1.10) else:[](#l1.11)