Skip to content

doesn't work with multiprocessing nose plugin #32

Description

@jbeluch

The multiprocess plugin mentions that it might not play nice with other plugins...

======================================================================
ERROR: Failure: AttributeError ('SpecPlugin' object has no attribute 'stream')
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/plugins/multiprocess.py", line 715, in __runner
    test(result)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/plugins/multiprocess.py", line 812, in run
    test(orig)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/suite.py", line 176, in __call__
    return self.run(*arg, **kw)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/plugins/multiprocess.py", line 812, in run
    test(orig)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/case.py", line 45, in __call__
    return self.run(*arg, **kwarg)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/case.py", line 140, in run
    self.afterTest(result)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/case.py", line 64, in afterTest
    afterTest(self.test)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/proxy.py", line 111, in afterTest
    self.plugins.afterTest(self.test)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/plugins/manager.py", line 99, in __call__
    return self.call(*arg, **kw)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/nose/plugins/manager.py", line 167, in simple
    result = meth(*arg, **kw)
  File "/Users/jon/.virtualenvs/billingtools-dev/lib/python2.7/site-packages/spec/plugin.py", line 395, in afterTest
    self.stream.capture()
AttributeError: 'SpecPlugin' object has no attribute 'stream'

----------------------------------------------------------------------

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions