Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eabbbd6

Browse files
committed
Added call to _init_tests in pytest_configure
1 parent 362a857 commit eabbbd6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def pytest_addoption(parser):
6969

7070
def pytest_configure(config):
7171
matplotlib._called_from_pytest = True
72+
matplotlib._init_tests()
7273

7374

7475
def pytest_unconfigure(config):

0 commit comments

Comments
 (0)