summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'numpy')
-rw-r--r--numpy/lib/tests/test_twodim_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_twodim_base.py b/numpy/lib/tests/test_twodim_base.py
index ecb9e2f53..f2724a951 100644
--- a/numpy/lib/tests/test_twodim_base.py
+++ b/numpy/lib/tests/test_twodim_base.py
@@ -244,7 +244,7 @@ class TestMaskIndices(TestCase):
class TestTrilIndices(TestCase):
- def test_tril_indices():
+ def test_tril_indices(self):
# indices without and with offset
il1 = tril_indices(4)
il2 = tril_indices(4, 2)
@@ -284,7 +284,7 @@ class TestTrilIndicesFrom(TestCase):
class TestTriuIndices(TestCase):
- def test_triu_indices():
+ def test_triu_indices(self):
iu1 = triu_indices(4)
iu2 = triu_indices(4, 2)