summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_function_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
-rw-r--r--numpy/lib/tests/test_function_base.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_function_base.py b/numpy/lib/tests/test_function_base.py
index 372929447..f2d91d01e 100644
--- a/numpy/lib/tests/test_function_base.py
+++ b/numpy/lib/tests/test_function_base.py
@@ -90,7 +90,9 @@ class test_linspace(ScipyTestCase):
def check_type(self):
t1 = linspace(0,1,0).dtype
t2 = linspace(0,1,1).dtype
+ t3 = linspace(0,1,2).dtype
assert_equal(t1, t2)
+ assert_equal(t2, t3)
class test_amax(ScipyTestCase):
def check_basic(self):