Update conftest.py

This commit is contained in:
2025-08-27 20:27:18 +02:00
parent 956bd863ad
commit 7a4116c54d
+2 -1
View File
@@ -47,6 +47,7 @@ def pytest_runtest_makereport(item, call):
runtime_params.append(entry)
# ---------- Capture prints ----------
'''
LOGFILE = pathlib.Path("outputs/test-prints.log")
def pytest_sessionstart(session):
@@ -92,7 +93,7 @@ class TeeStdout:
def flush(self):
self.original.flush()
'''
def pytest_configure(config):
sys.stdout = TeeStdout(sys.stdout)
sys.stderr = TeeStdout(sys.stderr)