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