Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 597ebed748d0b0c061f8c108bd98270d103286c1 authored by Andy Lester on 13 February 2020, 04:53:01 UTC
closes bpo-39621: Make buf arg to md5_compress be const. (GH-18497)
Tip revision: 597ebed
test_longexp.py
import unittest

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

if __name__ == "__main__":
    unittest.main()
back to top