(self)
| 6312 | assert_almost_equal(res, tgt) |
| 6313 | |
| 6314 | def test_var_complex_byteorder(self): |
| 6315 | # Test that var fast-path does not cause failures for complex arrays |
| 6316 | # with non-native byteorder |
| 6317 | cmat = self.cmat.copy().astype('complex128') |
| 6318 | cmat_swapped = cmat.astype(cmat.dtype.newbyteorder()) |
| 6319 | assert_almost_equal(cmat.var(), cmat_swapped.var()) |
| 6320 | |
| 6321 | def test_var_axis_error(self): |
| 6322 | # Ensure that AxisError is raised instead of IndexError when axis is |
nothing calls this directly
no test coverage detected