Staging
v0.8.1
v0.8.1
Revision 9242376906b604697f278453ab853861fee2c150 authored by Guido van Rossum on 10 November 2020, 05:36:05 UTC, committed by Guido van Rossum on 10 November 2020, 05:36:05 UTC
1 parent bfc6b63
test_longexp.py
import unittest
class LongExpText(unittest.TestCase):
def test_longexp(self):
REPS = 65580
l = eval("[" + "2," * REPS + "]")
self.assertEqual(len(l), REPS)
if __name__ == "__main__":
unittest.main()
Computing file changes ...