nose-devs / nose

nose is nicer testing for python
http://readthedocs.org/docs/nose/en/latest/
1.36k stars 395 forks source link

Multiprocess bug on Python 2.6 #1041

Open bmw opened 7 years ago

bmw commented 7 years ago

System: Ubuntu Trusty in Travis CI

Python version: Python 2.6.9

Expected results: Running nosestests with --processes=-1 without setting _multiprocess_can_split_ = True causes individual test classes to be run by a single process.

Actual results: Multiple processes are used.

I set up an simple repo with Travis to showcase this. The build showing the problem can be found here. The numbers interspersed with nosetests output is the process ID. This only happens when using Python 2.6.