Mercurial > cpython-lru_cache-weakref
view Lib/test/test_longexp.py @ 54294:dba767bc3155 legacy-trunk
remove mention of old ctypes version
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sat, 23 May 2009 20:59:09 +0000 |
| parents | 95695cc45cdd |
| children | 9c930a32cebb |
line wrap: on
line source
import unittest from test import test_support class LongExpText(unittest.TestCase): def test_longexp(self): REPS = 65580 l = eval("[" + "2," * REPS + "]") self.assertEqual(len(l), REPS) def test_main(): test_support.run_unittest(LongExpText) if __name__=="__main__": test_main()
