diff options
| author | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-29 09:37:28 (GMT) |
|---|---|---|
| committer | Serhiy Storchaka <storchaka@gmail.com> | 2013-08-29 09:37:28 (GMT) |
| commit | de2800f8f13df85d9e48b963307b2725abc2076f (patch) | |
| tree | 14f77f289ec7a380c8119fb0b46fc774a57706de /Lib/unittest/__main__.py | |
| parent | 64f7c4e4ca5141a8db28a2825f655e863d1c264f (diff) | |
| download | cpython-de2800f8f13df85d9e48b963307b2725abc2076f.zip cpython-de2800f8f13df85d9e48b963307b2725abc2076f.tar.gz cpython-de2800f8f13df85d9e48b963307b2725abc2076f.tar.bz2 | |
Issue #17974: Switch unittest from using getopt to using argparse.
Diffstat (limited to 'Lib/unittest/__main__.py')
| -rw-r--r-- | Lib/unittest/__main__.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/unittest/__main__.py b/Lib/unittest/__main__.py index 798ebc0..2663178 100644 --- a/Lib/unittest/__main__.py +++ b/Lib/unittest/__main__.py @@ -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) |
