PYTEST_PLUGINS does not mark files for rewriting #2185
Closed
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 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: