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