test_longexp.py 233 Bytes
Newer Older
1
import unittest
2

3 4 5 6 7
class LongExpText(unittest.TestCase):
    def test_longexp(self):
        REPS = 65580
        l = eval("[" + "2," * REPS + "]")
        self.assertEqual(len(l), REPS)
8

9 10
if __name__ == "__main__":
    unittest.main()