cpython: 4b64166d5abb (original) (raw)
Mercurial > cpython
changeset 85580:4b64166d5abb
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.
Tim Peters tim@python.org | |
---|---|
date | Fri, 06 Sep 2013 15:42:47 -0500 |
parents | cefb76baa331(current diff)b6059bac8a9c(diff) |
children | b6b8a2171aa3 |
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 @@ -1672,7 +1672,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)