asmeurer/pytest-flakes

PytestDeprecationWarning printed with every test run

asmeurer opened this issue · 1 comments

Every time I run my tests with pytest-flakes, I get the following deprecation warning:

/Users/aaronmeurer/anaconda3/lib/python3.7/site-packages/pytest_flakes.py:51
  /Users/aaronmeurer/anaconda3/lib/python3.7/site-packages/pytest_flakes.py:51: PytestDeprecationWarning: direct construction of FlakesItem has been deprecated, please use FlakesItem.from_parent
    return FlakesItem(path, parent, flakes_ignore)

It looks like it should be easy to fix.

Fixed by #29.