Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
5503d4731e822e90eea387efa37934d2df41c784
/
.
/
Lib
/
test
/
test_longexp.py
blob: f4c463aecee1707d5d5332d9205679769700aa1e [
file
] [
log
] [
blame
]
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
()