summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-05-14 10:21:36 -0600
committerGitHub <noreply@github.com>2018-05-14 10:21:36 -0600
commit5469af202699bd30c78789f2fb04d3c10c105614 (patch)
treed3bb85f7e99ec15fa7ca295a24bbfb085a1a63b6 /numpy/lib/tests/test_function_base.py
parenta786915c4e9f6f2a4b4e8f95b9db6f3538343509 (diff)
parent671ba6e9fc4f4d199bed3ad7671c009f91a1565b (diff)
downloadnumpy-5469af202699bd30c78789f2fb04d3c10c105614.tar.gz
Merge branch 'master' into linalg-move-matrix-power
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 43d62a7ff..5dc96775b 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -1525,9 +1525,9 @@ class TestDigitize(object):
class TestUnwrap(object):
def test_simple(self):
- # check that unwrap removes jumps greather that 2*pi
+ # check that unwrap removes jumps greater that 2*pi
assert_array_equal(unwrap([1, 1 + 2 * np.pi]), [1, 1])
- # check that unwrap maintans continuity
+ # check that unwrap maintains continuity
assert_(np.all(diff(unwrap(rand(10) * 100)) < np.pi))
@@ -2759,7 +2759,7 @@ class TestQuantile(object):
assert_equal(np.quantile(x, 0.5), 1.75)
def test_no_p_overwrite(self):
- # this is worth retesting, beause quantile does not make a copy
+ # this is worth retesting, because quantile does not make a copy
p0 = np.array([0, 0.75, 0.25, 0.5, 1.0])
p = p0.copy()
np.quantile(np.arange(100.), p, interpolation="midpoint")