summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_twodim_base.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2010-08-10 17:24:25 +0000
committerCharles Harris <charlesr.harris@gmail.com>2010-08-10 17:24:25 +0000
commit01362e33c84a2fb03d8b6ff66de866c2d1f9da95 (patch)
tree556748e221f7a5bc6ef0369ad304d674f625f71c /numpy/lib/tests/test_twodim_base.py
parentae2ebe1beb13b766c07c25d35cfff90eaf63ca09 (diff)
downloadnumpy-01362e33c84a2fb03d8b6ff66de866c2d1f9da95.tar.gz
BUG: Fix missing 'self' in test cleanups.
Diffstat (limited to 'numpy/lib/tests/test_twodim_base.py')
-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)