Jim Brännlund

Results 445 comments of Jim Brännlund

@nck974 I found the root cause for this. It's this line: ``` pytest_html = item.config.pluginmanager.getplugin("html") ``` It's broken in `4.0.0rc4` (and earlier versions). But I'm adding a fix for it...

It doesn't look like you have pytest-html installed. Also that's a pretty old version of pytest (current is `7.2.x`). I would suggest installing `4.0.0rc1` of pytest-html and see if that...

Thanks for the issue, I'll see if this is relevant in the next version. As for the speed-difference, I think that's lies outside of this plugin.

Mind testing if this is still an issue in 4.0.0rc0

`4.0.0rc1` is out and this should be fixed.

Can you try this with the latest release? 4.0.0rc0

> i found that if you add `if report.when == "call":` before `extra.append`, then no dup. though i'm not sure what `when == call` means. [docs](https://pytest-html.readthedocs.io/en/latest/user_guide.html#enhancing-reports) That is correct, to...

Mind testing if this is still an issue in 4.0.0rc0?

Thanks for reporting! This has been fixed but not yet released. It will be part of the RC1 release. Note that the fix is to remove the call to `pop`.

> Thanks for the update. Would this document be updated case the call to pop is removed? https://pytest-html.readthedocs.io/en/latest/user_guide.html#modifying-the-results-table Yes, it's also on the branch: https://github.com/pytest-dev/pytest-html/blob/next-gen/docs/user_guide.rst#modifying-the-results-table