Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 9626971c744525c2c4c1eee30089b7ef44ab822f authored by Larry Hastings on 05 July 2015, 02:13:02 UTC
Version bump for Python 3.5.0b3 release.
Tip revision: 9626971
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