(self)
| 54 | |
| 55 | class TestAtleast2d: |
| 56 | def test_0D_array(self): |
| 57 | a = array(1) |
| 58 | b = array(2) |
| 59 | res = [atleast_2d(a), atleast_2d(b)] |
| 60 | desired = [array([[1]]), array([[2]])] |
| 61 | assert_array_equal(res, desired) |
| 62 | |
| 63 | def test_1D_array(self): |
| 64 | a = array([1, 2]) |
nothing calls this directly
no test coverage detected