1import unittest 2 3class LongExpText(unittest.TestCase): 4 def test_longexp(self): 5 REPS = 65580 6 l = eval("[" + "2," * REPS + "]") 7 self.assertEqual(len(l), REPS) 8 9if __name__ == "__main__": 10 unittest.main() 11