Author Faris Chugthai
Recipients Faris Chugthai
Date 2020-07-09.04:37:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594269450.68.0.624090697882.issue41253@roundup.psfhosted.org>
In-reply-to
Content
I'm not 100% sure what's happening here but running:

`python -m unittest -h`

shows a flag `-s` as does

`python -m unittest discover -h`.

When run as:

`python -m unittest discover -s test`

the command runs correctly but when run as

`python -m unittest -s test`

the command fails.

```sh

$ python -m unittest -s test  
                      
usage: python -m unittest [-h] [-v] [-q] [--locals] [-f]                                [-c] [-b] [-k TESTNAMEPATTERNS]                               [tests [tests ...]

       
python -m unittest: error: unrecognized arguments: -s

```

Which I believe to be a bug as the help generated by the discover subcommand indicates that the flag -s should be recognized.
History
Date User Action Args
2020-07-09 04:37:30Faris Chugthaisetrecipients: + Faris Chugthai
2020-07-09 04:37:30Faris Chugthaisetmessageid: <1594269450.68.0.624090697882.issue41253@roundup.psfhosted.org>
2020-07-09 04:37:30Faris Chugthailinkissue41253 messages
2020-07-09 04:37:30Faris Chugthaicreate