We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e83b6f5 commit ee20cd6Copy full SHA for ee20cd6
1 file changed
cuda_pathfinder/tests/conftest.py
@@ -10,14 +10,10 @@
10
_LOGGER_NAME = "cuda_pathfinder.test_info"
11
12
13
-def _info_summary_log_filename():
14
- strictness = os.environ.get("CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS", "default")
15
- return f"test-info-summary-{strictness}.log"
16
-
17
18
@pytest.fixture(scope="session")
19
def _info_summary_handler(request):
20
- log_path = request.config.rootpath / _info_summary_log_filename()
+ strictness = os.environ.get("CUDA_PATHFINDER_TEST_LOAD_NVIDIA_DYNAMIC_LIB_STRICTNESS", "default")
+ log_path = request.config.rootpath / f"test-info-summary-{strictness}.log"
21
handler = logging.FileHandler(log_path, mode="w")
22
handler.setFormatter(logging.Formatter("%(test_node)s: %(message)s"))
23
0 commit comments