nose-devs/nose — Issue #445: --with-doctest and multiprocess doesn't play well together
Author: jpellerin
Created: 2011-12-14 16:11:46+00:00
State: closed

What steps will reproduce the problem?
1. Prepare the following file as t.py

def test_x():
assert 1 + 1 == 2

def test_y():
"""
>>> 2 + 3
5
"""

2. execute

$ nosetests --with-doctest --processes=4

What is the expected output?

Two tests are run, instead of 5.

What do you see instead?

t.test_x ... ok
Doctest: test_y ... ok
t.test_x ... ok
Doctest: test_y ... ok
Doctest: t.test_y ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.066s

OK

What version of the product are you using? On what operating system?

$ nosetests --version
nosetests version 1.0.0

Mac OS X 10.6.8

Google Code Info:
Issue #: 451
Author: anh.hai....@gmail.com
Created On: 2011-09-01T05:15:43.000Z
Closed On: 2011-11-05T21:58:49.000Z