Open andresriancho opened 11 years ago
@andresriancho I've had the same problem and it seems to be because I was testing some code that uses numpy linked against a multithreaded MKL. It seems multiprocessing
doesn't play well with OpenMP code. See https://github.com/numpy/numpy/pull/4194
I have both unittest.TestCase and doctests in my project. When running nosetests with --processes and --with-doctest --doctest-tests I get the following E (error in nose result):
AttributeError: 'DoctestSuite' object has no attribute 'config'
The traceback is:
Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/nose/plugins/multiprocess.py", line 699, in runner test(result) File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 176, in __call return self.run(_arg, _kw) File "/usr/local/lib/python2.7/dist-packages/nose/plugins/multiprocess.py", line 796, in run test(orig) File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 176, in call return self.run(_arg, _kw) File "/usr/local/lib/python2.7/dist-packages/nose/plugins/multiprocess.py", line 796, in run test(orig) File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 176, in call return self.run(_arg, _kw) File "/usr/local/lib/python2.7/dist-packages/nose/plugins/multiprocess.py", line 796, in run test(orig) File "/usr/local/lib/python2.7/dist-packages/nose/suite.py", line 176, in call return self.run(_arg, _kw) File "/usr/local/lib/python2.7/dist-packages/nose/plugins/multiprocess.py", line 806, in run test.config.plugins.addError(test,err) AttributeError: 'DoctestSuite' object has no attribute 'config'
And I'm using nosetests version 1.2.1 installed using pip.