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