Skip to content

Commit 2f002a1

Browse files
committed
Update conftest.py to include additional dependencies in pytest report header
1 parent f44bf1e commit 2f002a1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

conftest.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
# content of conftest.py
22

33
import guidata
4+
import h5py
5+
import numpy
6+
import PIL
47
import qtpy
8+
import qwt
9+
import scipy
10+
import tifffile
511
from guidata.env import execenv
612

713
import plotpy
@@ -18,5 +24,9 @@ def pytest_report_header(config):
1824
qtbindings_version = qtpy.PYQT_VERSION
1925
return [
2026
f"PlotPy {plotpy.__version__}, guidata {guidata.__version__}, "
27+
f"PythonQwt {qwt.__version__}, "
2128
f"{qtpy.API_NAME} {qtbindings_version} [Qt version: {qtpy.QT_VERSION}]",
29+
f"NumPy {numpy.__version__}, SciPy {scipy.__version__}, "
30+
f"h5py {h5py.__version__}, "
31+
f"Pillow {PIL.__version__}, tifffile {tifffile.__version__}",
2232
]

0 commit comments

Comments
 (0)