class TestComparisonDeprecations(_DeprecationTestCase):
This tests the deprecation, for non-element-wise comparison logic. This used to mean that when an error occurred during element-wise comparison (i.e. broadcasting) NotImplemented was returned, but also in the comparison itself, False was given instead of the error.
Also test FutureWarning for the None comparison.
Method | test_array_richcompare_legacy_weirdness |
Undocumented |
Method | test_normal_types |
Undocumented |
Method | test_string |
Undocumented |
Method | test_void_dtype_equality_failures |
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 |