diff options
author | Allan Haldane <allan.haldane@gmail.com> | 2015-07-28 09:37:26 -0400 |
---|---|---|
committer | Allan Haldane <allan.haldane@gmail.com> | 2017-09-07 16:47:39 -0400 |
commit | 6752d5fb21c7aad538b3ab2c638dd52e38ed6f2a (patch) | |
tree | 0cb07b4378539729567082146409610d7e257e3d /numpy/ma | |
parent | 50f4d0d810efbc8a3e3a4bdf8908faa9df4aa710 (diff) | |
download | numpy-6752d5fb21c7aad538b3ab2c638dd52e38ed6f2a.tar.gz |
TST: Add new unit tests for structure assignment
Diffstat (limited to 'numpy/ma')
-rw-r--r-- | numpy/ma/tests/test_core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py index c06a42de3..fa9f97233 100644 --- a/numpy/ma/tests/test_core.py +++ b/numpy/ma/tests/test_core.py @@ -1765,7 +1765,7 @@ class TestFillingValues(object): fill_val = np.array((-999, -12345678.9, "???"), dtype=[("A", int), ("B", float), ("C", "|S3")]) fval = _check_fill_value(fill_val, ndtype) - self.assertTrue(isinstance(fval, ndarray)) + assert_(isinstance(fval, ndarray)) assert_equal(fval.item(), [-999, -12345678.9, b"???"]) #.....Using an object-array shouldn't matter either |