Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
martinfleis committed Jan 27, 2025
1 parent 15fe17a commit 790dcd6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions inequality/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@

def warning_depr(x):
return pytest.warns(
FutureWarning,
match=f"{x} is deprecated and will be removed on 2025-01-01."
FutureWarning, match=f"{x} is deprecated and will be removed on 2025-01-01."
)


def warning_invalid(x):
return pytest.warns(RuntimeWarning,
match=f"invalid value encountered in {x}")
return pytest.warns(RuntimeWarning, match=f"invalid value encountered in {x}")


warning_div_zero = pytest.warns(RuntimeWarning,
match="divide by zero encountered")
warning_div_zero = pytest.warns(RuntimeWarning, match="divide by zero encountered")


def pytest_configure():
Expand Down

0 comments on commit 790dcd6

Please sign in to comment.