-
Notifications
You must be signed in to change notification settings - Fork 18
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
Support pytest version >= 4.1 #18
Comments
This looks like it might require some work. Is there any chance you can look into this, and make a PR? |
I like this plugin and I have the same issue. +1 |
@ropez I have tried to run tests with various versions, and it looks like no main code changes needed for newer python versions and pytest up to 4.0.2. I think of making a PR on this at least. As for the upper pytest versions, I'll take a look. |
Sorry, I haven't had time to look into this. Are you saying that the issue with importing |
Right, I was a little bit confused because you wrote "4.0 or later" in the original post. I will see if I find some time to look for a solution for 4.1 then. |
@ropez It looks like I have a working solution. However, the tests are failing with the latest pytest version due to the bug in pytest pytest-dev/pytest#4649. I'll open a PR with the fix after the next pytest patch will be released. |
@kondratyev-nv Maybe we should just change |
pytest-describe plugin is not working with pytest 4.0 or later.
This error appears for the test from sample
It looks like this happens due to changes in mark API since version 4.0, for example, see https://github.com/pytest-dev/pytest/blob/master/doc/en/deprecations.rst#somefunctionmarkname.
The text was updated successfully, but these errors were encountered: