summaryrefslogtreecommitdiff
path: root/Lib/test/test_collections.py
diff options
context:
space:
mode:
authordoko <doko@ubuntu.com>2017-02-01 13:02:16 +0100
committerdoko <doko@ubuntu.com>2017-02-01 13:02:16 +0100
commit2e835c97b60f5f554ea4742abc1c0f801567f1b9 (patch)
treee57b9697de6321a39541c2e947940e275ca844d3 /Lib/test/test_collections.py
parentba5a055a00d91a449a23ae14dd468e9b769a6b74 (diff)
parent75a56cd1847142d9c893b6df5fb674f54b34d9ed (diff)
downloadcpython-2e835c97b60f5f554ea4742abc1c0f801567f1b9.tar.gz
Merge 3.6
Diffstat (limited to 'Lib/test/test_collections.py')
-rw-r--r--Lib/test/test_collections.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_collections.py b/Lib/test/test_collections.py
index 87454cc670..76c71392dd 100644
--- a/Lib/test/test_collections.py
+++ b/Lib/test/test_collections.py
@@ -319,8 +319,7 @@ class TestNamedTuple(unittest.TestCase):
self.assertEqual(Dot(1)._replace(d=999), (999,))
self.assertEqual(Dot(1)._fields, ('d',))
- # n = 5000
- n = 254 # SyntaxError: more than 255 arguments:
+ n = 5000
names = list(set(''.join([choice(string.ascii_letters)
for j in range(10)]) for i in range(n)))
n = len(names)