Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLAKE8 - NotImplementedError: abstract #72

Closed
sbv-csis opened this issue Oct 21, 2020 · 4 comments
Closed

FLAKE8 - NotImplementedError: abstract #72

sbv-csis opened this issue Oct 21, 2020 · 4 comments

Comments

@sbv-csis
Copy link

sbv-csis commented Oct 21, 2020

When running pytest with -f after a flake8 error is fixed you get:

ERROR test_something.py::FLAKE8 - NotImplementedError: abstract

It seems to be related to #71 maybe?

I've made an example here: https://gist.github.com/sbv-csis/8b693ce75c335921f0fbded7fa2df9b5

The basic idea is that you start pytest -f so it loops, and following flake8 problems it won't recover from

ERROR test_something.py::FLAKE8 - NotImplementedError: abstract
@sbv-csis
Copy link
Author

Just verified - #71 fixes this issue too

@jwegger
Copy link

jwegger commented Oct 22, 2020

Seing this too. I was able to temporarily work around it by using pytest<6.1.0. Not sure which change in 6.1.0 triggers it, the only slightly related change I could spot was pytest-dev/pytest#7591.

@sbv-csis
Copy link
Author

New version of pytest out now. This is still a issue it seems

@tholo
Copy link
Owner

tholo commented Dec 16, 2020

New release has been published which should fix this

@tholo tholo closed this as completed Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants