(self)
| 2430 | assert_(y.fill_value == 999999) |
| 2431 | |
| 2432 | def test_fillvalue_bytes_or_str(self): |
| 2433 | # Test whether fill values work as expected for structured dtypes |
| 2434 | # containing bytes or str. See issue #7259. |
| 2435 | a = empty(shape=(3, ), dtype="(2)3S,(2)3U") |
| 2436 | assert_equal(a["f0"].fill_value, default_fill_value(b"spam")) |
| 2437 | assert_equal(a["f1"].fill_value, default_fill_value("eggs")) |
| 2438 | |
| 2439 | |
| 2440 | class TestUfuncs: |
nothing calls this directly
no test coverage detected