blob: f4c463aecee1707d5d5332d9205679769700aa1e [file] [log] [blame]
Raymond Hettingerf9f4c692003-08-30 22:54:55 +00001import unittest
Andrew MacIntyre5cef5712002-02-24 05:32:32 +00002
Raymond Hettingerf9f4c692003-08-30 22:54:55 +00003class LongExpText(unittest.TestCase):
4 def test_longexp(self):
5 REPS = 65580
6 l = eval("[" + "2," * REPS + "]")
7 self.assertEqual(len(l), REPS)
Jeremy Hylton3c0d0132000-06-20 19:13:27 +00008
Zachary Ware38c707e2015-04-13 15:00:43 -05009if __name__ == "__main__":
10 unittest.main()