Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e6ab17 commit 12e930fCopy full SHA for 12e930f
1 file changed
Doc/library/unittest.rst
@@ -1801,6 +1801,10 @@ Loading and running tests
1801
if __name__ == '__main__':
1802
unittest.main(verbosity=2)
1803
1804
+ The *defaultTest* argument is the name of the test to run if no test names
1805
+ are specified via *argv*. If not specified or ``None`` and no test names are
1806
+ provided via *argv*, all tests found in *module* are run.
1807
+
1808
The *argv* argument can be a list of options passed to the program, with the
1809
first element being the program name. If not specified or ``None``,
1810
the values of :data:`sys.argv` are used.
0 commit comments