(tmp_path)
| 33 | |
| 34 | |
| 35 | def test_save_load_calibrator(tmp_path): |
| 36 | cal = PlattCalibrator(temperature=1.5) |
| 37 | path = tmp_path / "calibration.json" |
| 38 | save_calibrator(cal, path) |
| 39 | loaded = load_calibrator(path) |
| 40 | assert abs(loaded.temperature - 1.5) < 0.001 |
nothing calls this directly
no test coverage detected