summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim@python.org>2013-09-06 20:41:30 (GMT)
committerTim Peters <tim@python.org>2013-09-06 20:41:30 (GMT)
commit23d7d4e85cf5aac97bc8ae4ff0e753d70ad8e6e8 (patch)
tree51936eb10f1c63ed8240fd6ad92b24e468cccfac
parentf315df31bd8a927768bb94c3342d155cdc87d997 (diff)
downloadcpython-23d7d4e85cf5aac97bc8ae4ff0e753d70ad8e6e8.zip
cpython-23d7d4e85cf5aac97bc8ae4ff0e753d70ad8e6e8.tar.gz
cpython-23d7d4e85cf5aac97bc8ae4ff0e753d70ad8e6e8.tar.bz2
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.
-rw-r--r--Lib/test/test_set.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py
index 8f86156..d02e427 100644
--- a/Lib/test/test_set.py
+++ b/Lib/test/test_set.py
@@ -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: