[docs] [issue30078] "-m unittest --help" says nothing about direct script exection

Ilya Kazakevich report at bugs.python.org
Sat Apr 15 16:49:45 EDT 2017


New submission from Ilya Kazakevich:

In Py3 it is possible to run test filelike 
"python -m unittest tests/test_something.py" (it is *not* possible in Py2!)
Here is doc: https://docs.python.org/3/library/unittest.html

But "--help" seems to be simply copied from Py2 because it does not have information nor examples about such execution. 

Please add it to "examples" section at least because this type of usage is very useful.

----------
assignee: docs at python
components: Documentation
messages: 291729
nosy: Ilya Kazakevich, docs at python
priority: normal
severity: normal
status: open
title: "-m unittest --help" says nothing about direct script exection
versions: Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30078>
_______________________________________


More information about the docs mailing list