File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ def pytest_report_header(config):
4141 qtbindings_version = qtpy .PYSIDE_VERSION
4242 if qtbindings_version is None :
4343 qtbindings_version = qtpy .PYQT_VERSION
44- return [
44+ infolist = [
4545 f"DataLab { cdl .__version__ } [Plugins: { nfstr if nfstr else 'None' } ]" ,
4646 f"guidata { guidata .__version__ } , PlotPy { plotpy .__version__ } " ,
4747 f"PythonQwt { qwt .__version__ } , "
@@ -50,6 +50,11 @@ def pytest_report_header(config):
5050 f"h5py { h5py .__version__ } , "
5151 f"scikit-image { skimage .__version__ } , OpenCV { cv2 .__version__ } " ,
5252 ]
53+ for vname in ("CDL_DATA" , "PYTHONPATH" , "DEBUG" ):
54+ value = os .environ .get (vname , "" )
55+ if value :
56+ infolist .append (f"{ vname } : { value } " )
57+ return infolist
5358
5459
5560def pytest_configure (config ):
You can’t perform that action at this time.
0 commit comments