Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
b5a40d4d3f5f472fc19ff84e745f150a21391d09
/
.
/
Lib
/
unittest
/
__main__.py
blob: 7320050ae954cc3037760f8470c91fbad7301280 [
file
] [
log
] [
blame
]
"""Main entry point"""
import
sys
if
sys
.
argv
[
0
].
endswith
(
"__main__.py"
):
sys
.
argv
[
0
]
=
"python -m unittest"
__unittest
=
True
from
.
main
import
main
,
TestProgram
,
USAGE_AS_MAIN
TestProgram
.
USAGE
=
USAGE_AS_MAIN
main
(
module
=
None
)