class documentation

class TestArrayDataAttributeAssignmentDeprecation(_DeprecationTestCase): (source)

View In Hierarchy

Assigning the 'data' attribute of an ndarray is unsafe as pointed out in gh-7093. Eventually, such assignment should NOT be allowed, but in the interests of maintaining backwards compatibility, only a Deprecation- Warning will be raised instead for the time being to give developers time to refactor relevant code.

Method test_data_attr_assignment Undocumented
Instance 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_data_attr_assignment(self): (source)

Undocumented