TestLogGpuMemory tests used pytest's caplog fixture to capture log output, but log_gpu_memory() uses structlog which writes to stdout, not Python's standard logging module. caplog only captures standard logging messages, so assertions always failed on empty text. Switch to capsys which captures stdout directly. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_data_recipe_seed.py | ||
| test_utils.py | ||