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
I am running some functions, which require that a context is setup in the same thread (and process).
I have a pytest fixture (scope="session", autouse=True) to initialize the context.
When I run the notebook using testbook it looks like the context is not setup.
If I run the same notebook (by converting it to Python code using nbconvert.PythonExporter) using runpy, it works as expected
Am I missing some configuration or execution policy option? Or is my fixture injected in the wrong order?
The text was updated successfully, but these errors were encountered:
I am having trouble using testbook.
I am running some functions, which require that a context is setup in the same thread (and process).
I have a pytest fixture (scope="session", autouse=True) to initialize the context.
Am I missing some configuration or execution policy option? Or is my fixture injected in the wrong order?
The text was updated successfully, but these errors were encountered: