class documentation

class TestArrayDataAttributeAssignmentDeprecation(_DeprecationTestCase):

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 Undocumented
Method teardown Undocumented
Instance Variable log Undocumented
Instance Variable warn​_ctx Undocumented
def test_data_attr_assignment(self):

Undocumented