(original) (raw)

changeset: 85579:b6059bac8a9c branch: 3.3 parent: 85569:7611e7244bdd user: Tim Peters tim@python.org date: Fri Sep 06 15:41:30 2013 -0500 files: Lib/test/test_set.py description: 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. diff -r 7611e7244bdd -r b6059bac8a9c Lib/test/test_set.py --- a/Lib/test/test_set.py Fri Sep 06 06:11:19 2013 -0700 +++ b/Lib/test/test_set.py Fri Sep 06 15:41:30 2013 -0500 @@ -1674,7 +1674,7 @@ 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: /tim@python.org