This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petere
Recipients ezio.melotti, petere, r.david.murray
Date 2011-10-26.17:22:16
SpamBayes Score 3.15765e-09
Marked as misclassified No
Message-id <>
Attached is a test file.  The key here is that I'm running the unittest suite inside of a long-running server process, so there is no predictable point of exit and cleanup.  Therefore, the steps I show at the end of the file should be run in an interactive interpreter.  Here is what I see:

>>> import unittest                                                                                                                             
>>> import testcase                                                                                                                             
>>> unittest.main(module=testcase)
FAIL: test_three (testcase.test)
Traceback (most recent call last):
  File "", line 35, in test_three"intentional failure")
AssertionError: intentional failure

Ran 3 tests in 0.002s

FAILED (failures=1)

That's good.


>>> import unittest                                                                                                                             
>>> import testcase                                                                                                                             
>>> unittest.main(module=testcase, testRunner=testcase.FunnyTestRunner, exit=False)                                                             
<unittest.main.TestProgram object at 0xf718fd4c>

You see, the test report at the end is missing.

I'm happy to consider other ways of addressing this, if anyone has an idea.
Date User Action Args
2011-10-26 17:22:17peteresetrecipients: + petere, ezio.melotti, r.david.murray
2011-10-26 17:22:17peteresetmessageid: <>
2011-10-26 17:22:17peterelinkissue13236 messages
2011-10-26 17:22:16peterecreate