New submission from Andreas Sommer :
Documentation recommends calling `doctest.testmod()`, but exits with code 0
even if a test fails.
--
assignee: docs@python
components: Documentation
messages: 367086
nosy: Andreas Sommer, docs@python
priority: normal
severity: normal
status: open
New submission from Andreas Sommer:
Reading over the section Replacing os.system()
(https://docs.python.org/2/library/subprocess.html#replacing-os-system), one
might assume that the return value of os.system and subprocess.call are
equivalent.
status = os.system(mycmd + myarg