Skip to content

Update from 4.0.2 to 4.1.0 broke all tests #4610

Closed
@CrimsonGlory

Description

@CrimsonGlory

On circleci, inside python:2.7 image, all tests started to fail with the same error after update from pytest 4.0.2 to 4.1.0 (other modules installed are pytest-cov-2.6.0 pytest-timeout-1.3.3)

self = <pytest_cov.plugin.CovPlugin object at 0x7f20a78e6110>
item = <Function test_cg_1366>

    @compat.hookwrapper
    def pytest_runtest_call(self, item):
>       if (item.get_marker('no_cover')
                or 'no_cover' in getattr(item, 'fixturenames', ())):
E               AttributeError: 'Function' object has no attribute 'get_marker'

/usr/local/lib/python2.7/site-packages/pytest_cov/plugin.py:289: AttributeError

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