-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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 error when running tox #3722
Comments
GitMate.io thinks possibly related issues are #3112 (Key errors while running pytest), #2777 (pytest is not running when i run it through tox -- Mac), #3326 (tox and pytest runs can behave differently when "-p something.conftest" is specified), #1591 (pytest-xdist fails when running same tests several times), and #3097 ("unrecognized arguments" or "option names already added" error when running pytest inside a Docker container using Jenkins). |
Could you share the package name? Also let's see if we can't factor out tox, does Also curious what |
Regardless of the investigation and possible workaround, I think we should catch |
@asottile running I should probably explain this better, |
@asottile You know what? I owe you an apology, turns out I had done some dodgy mocking screwed up the |
ah yeah that would do it! we have some ~rough plans to have better isolation from mocked modules but haven't done anything to solve it yet. Thanks for the issue nonetheless! |
I get this error when running pytest:
This is my tox.ini
Using:
Python 3.6.4
OSX 10.12.6
pytest==3.6.3
tox==3.1.2
bandit==1.4.0
flake8==3.5.0
coverage==4.5.1
I haven't found any info online about this error, but what makes it confusing is, out of all our micro services that have identical tox commands (except the package name), this is the only one that throws this error :(
This is the code that causes the error:
The text was updated successfully, but these errors were encountered: