8000 MNT: fix linter issues on main · numpy/numpy@088fe37 · GitHub
[go: up one dir, main page]

Skip to content

Commit 088fe37

Browse files< 10000 span class="prc-TooltipV2-Tooltip-cYMVY" data-direction="s" aria-hidden="true" id=":R1qbab:">Browse files
committed
MNT: fix linter issues on main
1 parent 06c04a3 commit 088fe37

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

numpy/_core/numeric.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,9 +2490,9 @@ def isclose(a, b, rtol=1.e-5, atol=1.e-8, equal_nan=False):
24902490
raise FloatingPointError(err_msg)
24912491
elif err_s == "print":
24922492
print(err_msg)
2493-
2493+
24942494
with errstate(invalid='ignore'):
2495-
2495+
24962496
result = (less_equal(abs(x - y), atol + rtol * abs(y))
24972497
& isfinite(y)
24982498
| (x == y))

numpy/_core/tests/test_numeric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3222,7 +3222,7 @@ def test_tol_warnings(self):
32223222
# Making sure that i and j are not both numbers, because that won't create a warning
32233223
if (i == 1) and (j == 1):
32243224
continue
3225-
3225+
32263226
with warnings.catch_warnings(record=True) as w:
32273227

32283228
warnings.simplefilter("always")

0 commit comments

Comments
 (0)
0