[issue36825] Make TestCase aware of the command line arguments given to TestProgram
Rémi Lapeyre
report at bugs.python.org
Fri May 1 10:24:47 EDT 2020
Rémi Lapeyre <remi.lapeyre at henki.fr> added the comment:
Bumping this issue as issue 37873 that wants to add a new -j argument to unittest got some attention lately.
This PR makes the Test Cases aware of the command line arguments given to unittest.main() and is needed to add the --pdb argument proposed in issue 18765 to run pdb.post_mortem() when an exception occurs during a test.
Both this issue and #18765 would be very useful to augment unittest.
----------
nosy: +gregory.p.smith, terry.reedy
versions: +Python 3.9 -Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36825>
_______________________________________
More information about the Python-bugs-list
mailing list