(self)
| 315 | assert_equal(filled(x[1], 0), 0) |
| 316 | |
| 317 | def test_set_element_as_object(self): |
| 318 | # Tests setting elements with object |
| 319 | a = empty(1, dtype=object) |
| 320 | x = (1, 2, 3, 4, 5) |
| 321 | a[0] = x |
| 322 | assert_equal(a[0], x) |
| 323 | assert_(a[0] is x) |
| 324 | |
| 325 | import datetime |
| 326 | dt = datetime.datetime.now() |
| 327 | a[0] = dt |
| 328 | assert_(a[0] is dt) |
| 329 | |
| 330 | def test_indexing(self): |
| 331 | # Tests conversions and indexing |
nothing calls this directly
no test coverage detected