You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When you set the debug=plugin option inside your .coveragerc the configurer-plugin is not working anymore.
The reason is, that with debug=plugin the plugin is wrapped in the class DebugPluginWrapper. However, this wrapper is not passing through the call of the configure(...) method.
To Reproduce
File main.py:
importcoveragecov=coverage.Coverage()
cov.erase()
cov.start()
print("I do nothing")
cov.stop()
cov.save()
Describe the bug
When you set the
debug=plugin
option inside your.coveragerc
the configurer-plugin is not working anymore.The reason is, that with
debug=plugin
the plugin is wrapped in the classDebugPluginWrapper
. However, this wrapper is not passing through the call of theconfigure(...)
method.To Reproduce
File
main.py
:File:
configurer_plugin.py
:File:
.coveragerc
Then execute:
python main.py
The expected sys-debug output is:
This output, you will get by disabling the
plugin
option fordebug
in the.coveragerc
. However, with the 4.5.4 version of coverage.py you only get:My
pip list
says:The text was updated successfully, but these errors were encountered: