lint
All checks were successful
Mypy / mypy (push) Successful in 1m12s
Pytest / pytest (3.12) (push) Successful in 1m15s
Pytest / pytest (3.13) (push) Successful in 1m12s
Pytest / pytest (3.14) (push) Successful in 1m15s
Ruff / ruff (push) Successful in 1m2s
Mypy / mypy (pull_request) Successful in 1m11s
Pytest / pytest (3.12) (pull_request) Successful in 1m16s
Pytest / pytest (3.13) (pull_request) Successful in 1m14s
Pytest / pytest (3.14) (pull_request) Successful in 1m15s
Ruff / ruff (pull_request) Successful in 1m2s

This commit is contained in:
Justus Kuhlmann 2026-03-23 16:18:32 +01:00
commit 480c04e069
Signed by: jkuhl
GPG key ID: 00ED992DD79B85A6
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,5 @@
from corrlib import tools as tl
from configparser import ConfigParser
import os
from pathlib import Path
import pytest
@ -81,5 +80,5 @@ def test_cache_enabled(tmp_path: Path) -> None:
tl.set_config(tmp_path, section, option, "False")
assert not tl.cache_enabled(tmp_path)
tl.set_config(tmp_path, section, option, "lalala")
with pytest.raises(ValueError) as e_info:
with pytest.raises(ValueError):
tl.cache_enabled(tmp_path)