(self)
| 2567 | np.array([[np.nan, np.nan], [np.nan, np.nan]])) |
| 2568 | |
| 2569 | def test_extreme(self): |
| 2570 | x = [[1e-100, 1e100], [1e100, 1e-100]] |
| 2571 | with np.errstate(all='raise'): |
| 2572 | c = corrcoef(x) |
| 2573 | assert_array_almost_equal(c, np.array([[1., -1.], [-1., 1.]])) |
| 2574 | assert_(np.all(np.abs(c) <= 1.0)) |
| 2575 | |
| 2576 | @pytest.mark.parametrize("test_type", np_floats) |
| 2577 | def test_corrcoef_dtype(self, test_type): |
nothing calls this directly
no test coverage detected