class TestTypes:
Undocumented
Method | check_promotion_cases |
Undocumented |
Method | test_can_cast |
Undocumented |
Method | test_can_cast_and_promote_usertypes |
Undocumented |
Method | test_can_cast_simple_to_structured |
Undocumented |
Method | test_can_cast_structured_to_simple |
Undocumented |
Method | test_can_cast_values |
Undocumented |
Method | test_coercion |
Undocumented |
Method | test_invalid_void_promotion |
Undocumented |
Method | test_promote_identical_types_metadata |
Undocumented |
Method | test_promote_types_endian |
Undocumented |
Method | test_promote_types_metadata |
Metadata handling in promotion does not appear formalized right now in NumPy. This test should thus be considered to document behaviour, rather than test the correct definition of it. |
Method | test_promote_types_strings |
Undocumented |
Method | test_result_type |
Undocumented |
Method | test_valid_void_promotion |
Undocumented |
Undocumented
Undocumented
Metadata handling in promotion does not appear formalized right now in NumPy. This test should thus be considered to document behaviour, rather than test the correct definition of it.
This test is very ugly, it was useful for rewriting part of the promotion, but probably should eventually be replaced/deleted (i.e. when metadata handling in promotion is better defined).