summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_recfunctions.py
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/lib/tests/test_recfunctions.py')
-rw-r--r--numpy/lib/tests/test_recfunctions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/tests/test_recfunctions.py b/numpy/lib/tests/test_recfunctions.py
index c261b9ebe..64dd9bb5f 100644
--- a/numpy/lib/tests/test_recfunctions.py
+++ b/numpy/lib/tests/test_recfunctions.py
@@ -399,11 +399,11 @@ class TestStackArrays(TestCase):
(_, x, _, _) = self.data
test = stack_arrays((x,))
assert_equal(test, x)
- self.failUnless(test is x)
+ self.assertTrue(test is x)
#
test = stack_arrays(x)
assert_equal(test, x)
- self.failUnless(test is x)
+ self.assertTrue(test is x)
#
def test_unnamed_fields(self):
"Tests combinations of arrays w/o named fields"