diff --git a/tests/sfcf_in_test.py b/tests/sfcf_in_test.py index 5e4ff83..7ebc94a 100644 --- a/tests/sfcf_in_test.py +++ b/tests/sfcf_in_test.py @@ -26,4 +26,4 @@ def test_get_specs() -> None: key = "f_P/q1 q2/1/0/0" specs = json.loads(input.get_specs(key, parameters)) assert specs['quarks'] == ['a', 'b'] - assert specs['wf1'][0] == [1, [0, 0]] \ No newline at end of file + assert specs['wf1'][0] == [1, [0, 0]] diff --git a/tests/tools_test.py b/tests/tools_test.py index a5427f3..541674f 100644 --- a/tests/tools_test.py +++ b/tests/tools_test.py @@ -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)