-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
PYTEST_PLUGINS does not mark files for rewriting #2185
Comments
This was discovered in a more complicated case where both |
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Jan 11, 2017
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Jan 11, 2017
nicoddemus
added a commit
to nicoddemus/pytest
that referenced
this issue
Jan 11, 2017
This was referenced Jan 22, 2017
This was referenced Feb 21, 2018
This was referenced Mar 5, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Minimal example:
Setting the environment variable
PYTEST_PLUGINS=plugin
to the test's directory and configuringPYTHONPATH
so theplugin
module can be imported, pytest will warn aboutplugin
already been imported and couldn't be re-written:Pytest should consider
PYTEST_PLUGINS
automatically for rewriting.The text was updated successfully, but these errors were encountered: