mirror of
https://github.com/python/cpython.git
synced 2024-11-21 12:59:38 +01:00
38c707e7e0
I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run.
11 lines
233 B
Python
11 lines
233 B
Python
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()
|