You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__________________________ test_affinity_propagation ___________________________
self = <pytest_cov.plugin.CovPlugin object at 0x7ffa393f27f0>
item = <Function test_affinity_propagation>
@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'
item = <Function test_affinity_propagation>
self = <pytest_cov.plugin.CovPlugin object at 0x7ffa393f27f0>
/home/travis/build/scikit-learn/scikit-learn/testvenv/lib/python3.5/site-packages/pytest_cov/plugin.py:289: AttributeError
this would need more investigation, but it if turns out that we were using a deprecated pytest feature the fix should also be backported to the 0.20.X branch.
Activity
thomasjpfan commentedon Jan 7, 2019
It looks like
pytest-covfixed this issue with version2.6.1: https://github.com/pytest-dev/pytest-cov/blob/24e8b8ae250fdd197db950d95b1f1debd9b3853f/src/pytest_cov/plugin.py#L294-L297qinhanmin2014 commentedon Jan 11, 2019
I think we can close this one.