mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #17974: Switch unittest from using getopt to using argparse.
This commit is contained in:
parent
64f7c4e4ca
commit
de2800f8f1
5 changed files with 172 additions and 179 deletions
|
|
@ -13,7 +13,6 @@ if sys.argv[0].endswith("__main__.py"):
|
|||
|
||||
__unittest = True
|
||||
|
||||
from .main import main, TestProgram, USAGE_AS_MAIN
|
||||
TestProgram.USAGE = USAGE_AS_MAIN
|
||||
from .main import main, TestProgram
|
||||
|
||||
main(module=None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue