Skip to content

Commit 85ab0f9

Browse files
committed
fix: conftest
1 parent 1b34b99 commit 85ab0f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
from collections.abc import Generator
12
import gc
23

34
import pytest
45

56

67
@pytest.fixture
7-
def mpl_cleanup():
8+
def mpl_cleanup() -> Generator[None, None, None]:
89
"""
910
Ensure Matplotlib is cleaned up around a test.
1011

0 commit comments

Comments
 (0)