diff --git a/tests/performance/test_import_time.py b/tests/performance/test_import_time.py index 03ce60ef5f7..c33381fbf48 100644 --- a/tests/performance/test_import_time.py +++ b/tests/performance/test_import_time.py @@ -91,7 +91,7 @@ def test_import_time(grace_percent: float = 0.20, hard_percent: float = 0.50) -> if current_time > grace_threshold: if current_time > hard_threshold: - pytest.fail(f"{module_import_cmd} import too slow! {hard_threshold=:.2f} ms") + pytest.fail(f"{module_import_cmd} import too slow at {current_time:.2f} ms! {hard_threshold=:.2f} ms") else: warnings.warn( f"{module_import_cmd} import slightly slower than reference: {grace_threshold=:.2f} ms",