this is changed behaviour, now seen in 3.x as well, closing as won't fix
** Changed in: python2.6 (Ubuntu)
Status: Confirmed => Won't Fix
--
unittest fails to run a single test from the command line
https://bugs.launchpad.net/bugs/399412
You received this bug notification because you are
Ah, that does what I need. Thanks for the workaround!
However, I still think there's a bug here. It used to work (so it's a
regression), and the docs for 2.7a3 use this as an example, with a
comment which says it should work in previous version:
http://docs.python.org/dev/library/unittest.html#
You don't need to explicitly run the unittest module from the command
line (the -m unittest). That's the whole point of the unittest.main call
:)
$ python MyTest.py MyTestCase.testOk
.
--
Ran 1 test in 0.000s
OK
--
unittest fai
** Changed in: python2.6 (Ubuntu)
Status: New => Confirmed
--
unittest fails to run a single test from the command line
https://bugs.launchpad.net/bugs/399412
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing
** Attachment added: "file to reproduce"
http://launchpadlibrarian.net/29016909/MyTest.py
--
unittest fails to run a single test from the command line
https://bugs.launchpad.net/bugs/399412
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubun