(self)
| 410 | assert_equal(filled(x[1], 0), 0) |
| 411 | |
| 412 | def test_set_element_as_object(self): |
| 413 | # Tests setting elements with object |
| 414 | a = empty(1, dtype=object) |
| 415 | x = (1, 2, 3, 4, 5) |
| 416 | a[0] = x |
| 417 | assert_equal(a[0], x) |
| 418 | assert_(a[0] is x) |
| 419 | |
| 420 | import datetime |
| 421 | dt = datetime.datetime.now() |
| 422 | a[0] = dt |
| 423 | assert_(a[0] is dt) |
| 424 | |
| 425 | def test_indexing(self): |
| 426 | # Tests conversions and indexing |
nothing calls this directly
no test coverage detected