Signed-off-by: hmz007 <hmz007@gmail.com> Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
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()
|