ยปCore Development>Code coverage>Lib/test/test_longexp.py

Python code coverage for Lib/test/test_longexp.py

#countcontent
1n/aimport unittest
2n/a
3n/aclass LongExpText(unittest.TestCase):
4n/a def test_longexp(self):
5n/a REPS = 65580
6n/a l = eval("[" + "2," * REPS + "]")
7n/a self.assertEqual(len(l), REPS)
8n/a
9n/aif __name__ == "__main__":
10n/a unittest.main()