Skip to content

TypeError: sequence index must be integer, not 'str' #144

@tetianakh

Description

@tetianakh

Hello,

I get this error when one of the tests fails:

Error processing line 1 of /path/to/lib/python2.7/site-packages/pytest-cov.pth:
  Traceback (most recent call last):
    File "/path/to/lib/python2.7/site.py", line 152, in addpackage
      exec line
    File "<string>", line 1, in <module>
    File "<string>", line 10, in <module>
  TypeError: sequence index must be integer, not 'str'
Remainder of file ignored

Without coverage, I just get a normal pytest output with traceback for the exception that was raised in the failing test.

This happens in Travis CI builds, so in case you want to have a look, here's the link: https://travis-ci.org/tetianakh/bcbio-nextgen/builds/189138489
Output from the same test without coverage: https://travis-ci.org/tetianakh/bcbio-nextgen/builds/189126412

Any ideas what this might be about?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions