juba / pyobsplot

Observable Plot in Jupyter notebooks and Quarto documents
https://juba.github.io/pyobsplot/
MIT License
184 stars 8 forks source link

"Exception not rethrown" in pytest #1

Closed juba closed 1 year ago

juba commented 1 year ago

Look what is the cause of the FATAL: Exception not rethrown messages in pytest.

juba commented 1 year ago

Problems seems to come from anywidget inclusion. Seems quite random too, tests on GHA work fine for now.

juba commented 1 year ago

Fixed by disabling widget static resources watching. anywidget uses Widget._esm.stop_thread() in tests to avoid this, but we can disable watching entirely.