source: python/trunk/Lib/test/test_longexp.py

Last change on this file was 2, checked in by Yuri Dario, 15 years ago

Initial import for vendor code.

  • Property svn:eol-style set to native
File size: 318 bytes
Line 
1import unittest
2from test import test_support
3
4class LongExpText(unittest.TestCase):
5 def test_longexp(self):
6 REPS = 65580
7 l = eval("[" + "2," * REPS + "]")
8 self.assertEqual(len(l), REPS)
9
10def test_main():
11 test_support.run_unittest(LongExpText)
12
13if __name__=="__main__":
14 test_main()
Note: See TracBrowser for help on using the repository browser.