Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: ffccaa40fa237f4afc9eec87c78a98356f9f6e77 authored by Larry Hastings on 06 December 2015, 01:05:23 UTC
Version bump for 3.5.1 final.
Tip revision: ffccaa4
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()
back to top