]>
Commit | Line | Data |
---|---|---|
4710c53d | 1 | import unittest\r |
2 | from test import test_support\r | |
3 | \r | |
4 | class LongExpText(unittest.TestCase):\r | |
5 | def test_longexp(self):\r | |
6 | REPS = 65580\r | |
7 | l = eval("[" + "2," * REPS + "]")\r | |
8 | self.assertEqual(len(l), REPS)\r | |
9 | \r | |
10 | def test_main():\r | |
11 | test_support.run_unittest(LongExpText)\r | |
12 | \r | |
13 | if __name__=="__main__":\r | |
14 | test_main()\r |