Skip to content

calling newbrough/coverage tests with nose causes traceback #1

Open
@retrogradeorbit

Description

@retrogradeorbit

Tests run fine but then on exit get the following traceback::

Traceback (most recent call last):
  File "vptest/bin/nosetests", line 9, in 
    load_entry_point('nose==1.2.1', 'console_scripts', 'nosetests')()
  File "/home/crispin/dev/panopticon/vptest/local/lib/python2.7/site-packages/nose/core.py", line 118, in __init__
    **extra_args)
  File "/usr/lib/python2.7/unittest/main.py", line 95, in __init__
    self.runTests()
  File "/home/crispin/dev/panopticon/vptest/local/lib/python2.7/site-packages/nose/core.py", line 197, in runTests
    result = self.testRunner.run(self.test)
  File "/home/crispin/dev/panopticon/vptest/local/lib/python2.7/site-packages/nose/core.py", line 63, in run
    result.printErrors()
  File "/home/crispin/dev/panopticon/vptest/local/lib/python2.7/site-packages/nose/result.py", line 110, in printErrors
    self.config.plugins.report(self.stream)
  File "/home/crispin/dev/panopticon/vptest/local/lib/python2.7/site-packages/nose/plugins/manager.py", line 99, in __call__
    return self.call(*arg, **kw)
  File "/home/crispin/dev/panopticon/vptest/local/lib/python2.7/site-packages/nose/plugins/manager.py", line 167, in simple
    result = meth(*arg, **kw)
  File "/home/crispin/dev/panopticon/vptest/local/lib/python2.7/site-packages/nose/plugins/cover.py", line 158, in report
    self.coverInstance.stop()
  File "/home/crispin/dev/panopticon/vptest/src/coverage/coverage/control.py", line 387, in stop
    self.collector.stop()
  File "/home/crispin/dev/panopticon/vptest/src/coverage/coverage/control.py", line 484, in _harvest_data
    self.data.add_line_data(self.collector.get_line_data())
  File "/home/crispin/dev/panopticon/vptest/src/coverage/coverage/collector.py", line 265, in get_line_data
    for l1, _ in list(arcs.keys()):
TypeError: 'int' object is not iterable

Whats the recommended testrunner for this version of coverage?

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