(self)
| 3630 | assert_raises(TypeError, lambda: a.conjugate()) |
| 3631 | |
| 3632 | def test_conjugate_out(self): |
| 3633 | # Minimal test for the out argument being passed on correctly |
| 3634 | # NOTE: The ability to pass `out` is currently undocumented! |
| 3635 | a = np.array([1-1j, 1+1j, 23+23.0j]) |
| 3636 | out = np.empty_like(a) |
| 3637 | res = a.conjugate(out) |
| 3638 | assert res is out |
| 3639 | assert_array_equal(out, a.conjugate()) |
| 3640 | |
| 3641 | def test__complex__(self): |
| 3642 | dtypes = ['i1', 'i2', 'i4', 'i8', |
nothing calls this directly
no test coverage detected