Skip to content

Commit eb998bf

Browse files
authored
Merge pull request #96 from martinfleis/conftest
move conftest
2 parents a77a35e + 790dcd6 commit eb998bf

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

conftest.py renamed to inequality/tests/conftest.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,15 @@
77

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

1413

1514
def warning_invalid(x):
16-
return pytest.warns(RuntimeWarning,
17-
match=f"invalid value encountered in {x}")
15+
return pytest.warns(RuntimeWarning, match=f"invalid value encountered in {x}")
1816

1917

20-
warning_div_zero = pytest.warns(RuntimeWarning,
21-
match="divide by zero encountered")
18+
warning_div_zero = pytest.warns(RuntimeWarning, match="divide by zero encountered")
2219

2320

2421
def pytest_configure():

0 commit comments

Comments
 (0)