class documentation
class TestArrayDataAttributeAssignmentDeprecation(_DeprecationTestCase): (source)
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 |
Undocumented |
Instance Variable | message |
Undocumented |
Inherited from _DeprecationTestCase
:
Method | assert |
Test if DeprecationWarnings are given and raised. |
Method | assert |
Test that warnings are not raised. |
Method | setup |
Undocumented |
Method | teardown |
Undocumented |
Instance Variable | log |
Undocumented |
Instance Variable | warn |
Undocumented |