Skip to content

Commit 46437cc

Browse files
committed
Enable debug logging while testing
1 parent ce8350c commit 46437cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import pytest
44

55
import imagej
6+
import imagej.doctor
67
from scyjava import config
78

89

@@ -46,6 +47,8 @@ def ij(request):
4647
Create an ImageJ2 gateway to be used by the whole testing environment
4748
:param request: Pytest variable passed in to fixtures
4849
"""
50+
# enable debug logging
51+
imagej.doctor.debug_to_stderr()
4952
# get test configuration
5053
ij_dir = request.config.getoption("--ij")
5154
legacy = request.config.getoption("--legacy")

0 commit comments

Comments
 (0)