Skip to content

Incompatibilty with Pytest 4.1 #4

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

Closed
rebeccacremona opened this issue Jan 23, 2019 · 0 comments
Closed

Incompatibilty with Pytest 4.1 #4

rebeccacremona opened this issue Jan 23, 2019 · 0 comments

Comments

@rebeccacremona
Copy link
Contributor

INTERNALERROR>   File "/root/.local/share/virtualenvs/perma_web-kkDLCj8f/lib/python3.5/site-packages/pytest_django_ordering/plugin.py", line 10, in get_marker_transaction
INTERNALERROR>     marker = test.get_marker('django_db')
INTERNALERROR> AttributeError: 'TestCaseFunction' object has no attribute 'get_marker'

get_marker was removed in pytest 4.1.0. The pytest changelog suggests using get_closest_marker instead.

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

2 participants