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 14af43a59..57d977814 100644
--- a/numpy/lib/tests/test_recfunctions.py
+++ b/numpy/lib/tests/test_recfunctions.py
@@ -81,7 +81,7 @@ class TestRecFunctions(TestCase):
assert_equal(test, control)
#
test = drop_fields(a, ['a', 'b'])
- assert(test is None)
+ assert_(test is None)
def test_rename_fields(self):
@@ -308,7 +308,7 @@ class TestMergeArrays(TestCase):
assert_equal(test, control)
test = merge_arrays((x, mx), usemask=True, asrecarray=True)
assert_equal(test, control)
- assert(isinstance(test, MaskedRecords))
+ assert_(isinstance(test, MaskedRecords))
#
def test_w_singlefield(self):
"Test single field"