Skip to content
Draft
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import zmq_anyio
from anyio import create_memory_object_stream, create_task_group, sleep
from anyio.streams.memory import MemoryObjectReceiveStream, MemoryObjectSendStream
from IPython.core.history import HistoryManager
from jupyter_client.session import Session

from ipykernel.ipkernel import IPythonKernel
Expand All @@ -34,6 +35,9 @@ def _garbage_collection(request):
except ModuleNotFoundError:
tracemalloc = None

# ensure we don't leak history managers
HistoryManager._max_inst = 1
Comment thread
Carreau marked this conversation as resolved.
Outdated

pytestmark = pytest.mark.anyio


Expand Down
Loading