summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_recfunctions.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2011-04-05 21:00:10 -0600
committerCharles Harris <charlesr.harris@gmail.com>2011-04-05 21:02:29 -0600
commit966038e30b21e62ab7729527f3f0bba6e18eb805 (patch)
tree084bd7b40be49614b3770657ceaf1b539adbf964 /numpy/lib/tests/test_recfunctions.py
parent4cb2eb4df95740661d7f1944451d2c1cb3482bcf (diff)
downloadnumpy-966038e30b21e62ab7729527f3f0bba6e18eb805.tar.gz
STY: Replace assert by assert_ in tests. There remain 124 uses of
assert in non-testing files that should be checked for correctness.
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"