diff --git a/flexiblepricing/api_test.py b/flexiblepricing/api_test.py index 22f70a6432..8759dd3c3f 100644 --- a/flexiblepricing/api_test.py +++ b/flexiblepricing/api_test.py @@ -61,7 +61,7 @@ def test_parse_country_income_thresholds_no_header(tmp_path): """parse_country_income_thresholds should throw error if no header is found""" path = tmp_path / "test.csv" - with open(path, "w"): # create a file # noqa: SIM115, PTH123 + with open(path, "w"): # create a file # noqa: PTH123 with pytest.raises(CountryIncomeThresholdException) as exc: parse_country_income_thresholds(path)