C.A.M. Gerlach <cam.gerl...@gerlach.cam> added the comment:

I can verify that this still occurs on Linux under an up to date Python 3.9 env 
(unknown browser; I can inquire), while on my Windows machine running an 
essentially identical Python 3.9 env, I don't get the warning. The practical 
problem arises when we are using `-X dev`/`-W error` and/or strict 
`filterwarnings` with Pytest, and the user passes a custom `--open-browser` 
flag to our test suite to open the resulting output in their web browser to 
inspect it for themselves. See 
[spyder-ide/docrepr#33](https://github.com/spyder-ide/docrepr/pull/33#discussion_r772164817)
 for details. I'm concerned this is going to be difficult to work around 
without doing over-broad silencing of warnings on the Pytest, because the 
warning is raised when the object is GC'ed, which may happen at a 
non-deterministic time or even after or even Python invocation level, and I 
can't reproduce it on my machine to test it.

----------
nosy: +CAM-Gerlach
status: pending -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue5993>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to