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
AttributeError: 'NoneType' object has no attribute '_logcfg' #25
Comments
Actually, I think it might be a mix of the two. I have just checked whether the example from README still works. It turns out that pytest==5.4.0 introduced changes in internal apis connected with tempdirs (that were deprecated for 5 years). Luckily for us, they have been reverted in 5.4.2 (pytest-dev/pytest#6992). There was also a discussion whether this deprecated api should be actually brought back to life and properly documented instead as there are use cases (like in this plugin) where the temp dir is needed in configuration phase. AFAIK there's still no new way for getting The error looked like this:
As for your problem, could you please create a minimal reproduction project? It's really hard to tell what is wrong without at least a full list of installed/used plugins :) |
Closing due to inactivity and infra changes, and python/pytest upgrades in the meantime |
Possibly due to new pytest versions, or due to interaction with other pytest plugins:
The text was updated successfully, but these errors were encountered: