rewrite does not work automatically for plugins in develop mode #1934
I tracked down the problem to our code which tries to rewrite all modules of installed plugins in
self.pluginmanager.rewrite_hook = hook for entrypoint in pkg_resources.iter_entry_points('pytest11'): for entry in entrypoint.dist._get_metadata('RECORD'): fn = entry.split(',') ...
When in development mode,
I think the only solution is to move the function which needs assertion rewriting to its own "util" module and call
Any other ideas on how to fix/workaround it?
The text was updated successfully, but these errors were encountered: