class TestFutureWarningArrayLikeNotIterable(_DeprecationTestCase):
Undocumented
Method | test_0d_not_deprecated |
Undocumented |
Method | test_assignment_not_deprecated |
Undocumented |
Method | test_deprecated |
Test that these objects give a warning since they are not 0-D, not coerced at the top level np.array(obj) , but nested, and do not define the sequence protocol. |
Method | test_strange_dtype_handling |
The old code would actually use the dtype from the array, but then end up not using the array (for dimension discovery) |
Method | test_unnested_not_deprecated |
Undocumented |
Class Variable | message |
Undocumented |
Inherited from _DeprecationTestCase
:
Method | assert_deprecated |
Test if DeprecationWarnings are given and raised. |
Method | assert_not_deprecated |
Test that warnings are not raised. |
Method | setup |
Undocumented |
Method | teardown |
Undocumented |
Instance Variable | log |
Undocumented |
Instance Variable | warn_ctx |
Undocumented |
Undocumented
Undocumented
Test that these objects give a warning since they are not 0-D,
not coerced at the top level np.array(obj)
, but nested, and do
not define the sequence protocol.
test_array_coercion.py
and they can be modified or amended
when this deprecation expired.Undocumented