(self)
| 2626 | assert_(y.fill_value == 999999) |
| 2627 | |
| 2628 | def test_fillvalue_bytes_or_str(self): |
| 2629 | # Test whether fill values work as expected for structured dtypes |
| 2630 | # containing bytes or str. See issue #7259. |
| 2631 | a = empty(shape=(3, ), dtype="(2,)3S,(2,)3U") |
| 2632 | assert_equal(a["f0"].fill_value, default_fill_value(b"spam")) |
| 2633 | assert_equal(a["f1"].fill_value, default_fill_value("eggs")) |
| 2634 | |
| 2635 | |
| 2636 | class TestUfuncs: |
nothing calls this directly
no test coverage detected