2003-08-30 22:54:55 +00:00
|
|
|
import unittest
|
2002-02-24 05:32:32 +00:00
|
|
|
|
2003-08-30 22:54:55 +00:00
|
|
|
class LongExpText(unittest.TestCase):
|
|
|
|
def test_longexp(self):
|
|
|
|
REPS = 65580
|
|
|
|
l = eval("[" + "2," * REPS + "]")
|
|
|
|
self.assertEqual(len(l), REPS)
|
2000-06-20 19:13:27 +00:00
|
|
|
|
2015-04-13 15:00:43 -05:00
|
|
|
if __name__ == "__main__":
|
|
|
|
unittest.main()
|