blob: f4c463aecee1707d5d5332d9205679769700aa1e (
plain)
1
2
3
4
5
6
7
8
9
10
|
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()
|