PyXR

c:\python24\lib \ test \ test_longexp.py



0001 import unittest
0002 from test import test_support
0003 
0004 class LongExpText(unittest.TestCase):
0005     def test_longexp(self):
0006         REPS = 65580
0007         l = eval("[" + "2," * REPS + "]")
0008         self.assertEqual(len(l), REPS)
0009 
0010 def test_main():
0011     test_support.run_unittest(LongExpText)
0012 
0013 if __name__=="__main__":
0014     test_main()
0015 

Generated by PyXR 0.9.4
SourceForge.net Logo