mirror of
https://github.com/python/cpython
synced 2024-09-06 05:13:30 +00:00
![Zachary Ware](/assets/img/avatar_default.png)
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()
|