(self)
| 313 | |
| 314 | class TestIndexing: |
| 315 | def test_basic(self): |
| 316 | x = asmatrix(np.zeros((3, 2), float)) |
| 317 | y = np.zeros((3, 1), float) |
| 318 | y[:, 0] = [0.8, 0.2, 0.3] |
| 319 | x[:, 1] = y > 0.5 |
| 320 | assert_equal(x, [[0, 1], [0, 0], [0, 0]]) |
| 321 | |
| 322 | |
| 323 | class TestNewScalarIndexing: |
nothing calls this directly
no test coverage detected