(self)
| 131 | |
| 132 | class TestClog: |
| 133 | def test_simple(self): |
| 134 | x = np.array([1+0j, 1+2j]) |
| 135 | y_r = np.log(np.abs(x)) + 1j * np.angle(x) |
| 136 | y = np.log(x) |
| 137 | assert_almost_equal(y, y_r) |
| 138 | |
| 139 | @platform_skip |
| 140 | @pytest.mark.skipif(platform.machine() == "armv5tel", reason="See gh-413.") |
nothing calls this directly
no test coverage detected