-
-
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
ImportWarning: can't resolve package from __spec__ or __package__ #4423
Comments
I should note that I've been using |
thanks for the report - i vaguely suspect we need to do some extra work to do the correct thing in the assertion rewriter |
Here's the stacktrace:
Running this outside of `pytest:
This isn't an issue with pytest but with |
I've taken some time and figured out what multidict needs to do to fix this: aio-libs/multidict#304 closing this! Thanks for the issue, this was fun 🎉 |
@Callek btw, if you upgrade to multidict==4.5.0 that error is fixed |
Related to #3061
I'm hitting this in @mozilla-releng/addonscript with pytest 4.0 on travis (locally reproduced back to pytest 3.7.3) --
Travis Log: https://travis-ci.org/mozilla-releng/addonscript/builds/457101239
Local pytest extensions
I'm also getting no traceback at all..
The text was updated successfully, but these errors were encountered: