]> granicus.if.org Git - python/commitdiff
Issue 18944: fix a 1-character typo in test_set.py.
authorTim Peters <tim@python.org>
Fri, 6 Sep 2013 20:41:30 +0000 (15:41 -0500)
committerTim Peters <tim@python.org>
Fri, 6 Sep 2013 20:41:30 +0000 (15:41 -0500)
The error caused test_inline_methods() to test much less than intended.
Caught (& fixed) by Armin Rigo.

Lib/test/test_set.py

index 8f861568a46ef2d43440b510b363efedfb7d31db..d02e42759ae7d070cbc204a19e62763dea5e08f8 100644 (file)
@@ -1674,7 +1674,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: