nose-devs/nose — Issue #107: Output from suites is not displayed on error
Author: jpellerin
Created: 2011-12-14 15:59:32+00:00
State: closed

What steps will reproduce the problem?
1. Give a suite to TestProgram, as done in the attached file
2. Make sure the test fails and you print something first

What is the expected output? What do you see instead?

========Expected========
$ nosetests
F
======================================================================
FAIL: test_something (test_something.TestClass)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/mark/tests/test_something.py", line 9, in test_something
assert False
AssertionError:
-------------------- >> begin captured stdout << ---------------------
test output capture

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 1 test in 0.005s

FAILED (failures=1)

========Instead========
$ python test_something.py
F
======================================================================
FAIL: test_something (__main__.TestClass)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_something.py", line 9, in test_something
assert False
AssertionError

----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (failures=1)

What version of the product are you using? On what operating system?
0.10.4, Ubuntu 9.10

Google Code Info:
Issue #: 329
Author: markflor...@gmail.com
Created On: 2010-03-21T13:50:21.000Z
Closed On: 2010-06-16T14:38:56.000Z