8000 DOC: Fixups for interpolation rename comments from review · lithomas1/numpy@546c47a · GitHub
[go: up one dir, main page]

Skip to content

Commit 546c47a

Browse files
sebergcharris
andcommitted
DOC: Fixups for interpolation rename comments from review
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
1 parent be15716 commit 546c47a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

numpy/core/tests/test_deprecations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1246,7 +1246,7 @@ def test_deprecated(self, func):
12461246
[np.percentile, np.quantile, np.nanpercentile, np.nanquantile])
12471247
def test_both_passed(self, func):
12481248
with warnings.catch_warnings():
1249-
# catch the warning, but make sure it does not raise:
1249+
# catch the DeprecationWarning so that it does not raise:
12501250
warnings.simplefilter("always", DeprecationWarning)
12511251
with pytest.raises(TypeError):
12521252
func([0., 1.], 0., interpolation="nearest", method="nearest")

numpy/lib/function_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
# is made of a integer part (a.k.a 'i' or 'left') and a fractional part
6262
# (a.k.a 'g' or 'gamma')
6363
#
64-
# Each _QuantileMethods has two properties
64+
# Each method in _QuantileMethods has two properties
6565
# get_virtual_index : Callable
6666
# The function used to compute the virtual_index.
6767
# fix_gamma : Callable

0 commit comments

Comments
 (0)
0