move sections
[python/dscho.git] / Lib / test / test_longexp.py
blobdd222a19bff300bb8d9fb9537f707ccda4068e86
1 import unittest
2 from test import test_support
4 class LongExpText(unittest.TestCase):
5 def test_longexp(self):
6 REPS = 65580
7 l = eval("[" + "2," * REPS + "]")
8 self.assertEqual(len(l), REPS)
10 def test_main():
11 test_support.run_unittest(LongExpText)
13 if __name__=="__main__":
14 test_main()