mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
split unittest.py into a package
This commit is contained in:
parent
5fee460bfa
commit
d7b0eebcae
14 changed files with 920 additions and 902 deletions
8
Lib/unittest/__main__.py
Normal file
8
Lib/unittest/__main__.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
"""Main entry point"""
|
||||
|
||||
import sys
|
||||
if sys.argv[0].endswith("__main__.py"):
|
||||
sys.argv[0] = "unittest"
|
||||
|
||||
from .main import main
|
||||
main(module=None)
|
||||
Loading…
Add table
Add a link
Reference in a new issue