Staging
v0.8.1
Revision 1f5fd648b18a0d6fff31b73db4d9fb4158b2247e authored by Jason R. Coombs on 06 September 2016, 02:24:01 UTC, committed by Jason R. Coombs on 06 September 2016, 02:24:01 UTC
1 parent 79ae967
Raw File
test_longexp.py
import unittest
from test import support

class LongExpText(unittest.TestCase):
    def test_longexp(self):
        REPS = 65580
        l = eval("[" + "2," * REPS + "]")
        self.assertEqual(len(l), REPS)

def test_main():
    support.run_unittest(LongExpText)

if __name__=="__main__":
    test_main()
back to top