All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lib-python.2.5.test.test_longexp.py Maven / Gradle / Ivy

There is a newer version: 2.7.1.1
Show newest version
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()




© 2015 - 2025 Weber Informatics LLC | Privacy Policy