[issue19013] unittest's own test suite is not CLI-friendly

2013-09-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed. -- resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue19013] unittest's own test suite is not CLI-friendly

2013-09-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset c2b926c0d0c2 by Antoine Pitrou in branch 'default': Issue #19013: add a __main__ to unittest.test.testmock to ease CLI invocation http://hg.python.org/cpython/rev/c2b926c0d0c2 -- ___ Python tracker

[issue19013] unittest's own test suite is not CLI-friendly

2013-09-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset bbcdcdb06c66 by Antoine Pitrou in branch 'default': Issue #19013: add a __main__ to unittest.test to ease CLI invocation http://hg.python.org/cpython/rev/bbcdcdb06c66 -- ___ Python tracker

[issue19013] unittest's own test suite is not CLI-friendly

2013-09-13 Thread Antoine Pitrou
Antoine Pitrou added the comment: When trying to use a standard load_tests() inside a __main__.py, I get the following kind of errors: == ERROR: test_suite (unittest.loader.ModuleImportFailure) -

[issue19013] unittest's own test suite is not CLI-friendly

2013-09-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1d08ce952592 by Antoine Pitrou in branch 'default': Issue #19013: add unittest.main() epilogs to unittest's own test modules http://hg.python.org/cpython/rev/1d08ce952592 New changeset f81a53580c45 by Antoine Pitrou in branch 'default': Issue #19013

[issue19013] unittest's own test suite is not CLI-friendly

2013-09-13 Thread Berker Peksag
Changes by Berker Peksag : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19013] unittest's own test suite is not CLI-friendly

2013-09-13 Thread Antoine Pitrou
New submission from Antoine Pitrou: Nothing happens when you try to execute it on the command line: $ ./python -m unittest.test /home/antoine/cpython/default/python: No module named unittest.test.__main__; 'unittest.test' is a package and cannot be directly executed $ ./python -m unittest.test.