class documentation

class TestComparisonDeprecations(_DeprecationTestCase): (source)

View In Hierarchy

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_method Undocumented
Method teardown_method Undocumented
Instance Variable log Undocumented
Instance Variable warn_ctx Undocumented
def test_array_richcompare_legacy_weirdness(self): (source)

Undocumented

def test_normal_types(self): (source)

Undocumented

def test_string(self): (source)

Undocumented

def test_void_dtype_equality_failures(self): (source)

Undocumented