We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38b470a commit 6dd2dfbCopy full SHA for 6dd2dfb
tests/conftest.py
@@ -11,6 +11,7 @@
11
import zmq.asyncio
12
from anyio import create_memory_object_stream, create_task_group
13
from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream
14
+from IPython.core.history import HistoryManager
15
from jupyter_client.session import Session
16
17
from ipykernel.ipkernel import IPythonKernel
@@ -29,6 +30,10 @@
29
30
tracemalloc = None
31
32
33
+# ensure we don't leak history managers
34
+HistoryManager._max_inst = 1
35
+
36
37
@pytest.fixture()
38
def anyio_backend():
39
return "asyncio"
0 commit comments