You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
memoryview.readonly is a bool, but ndarray.readonly is an int 0 or 1. The proposed PR makes ndarray.readonly a bool and makes test_buffer using more strict assertIs() instead of assertEqual() for testing boolean values.
New changeset e0d67f1 by Serhiy Storchaka in branch 'master': bpo-34201: Make ndarray.readonly a bool and use stricter tests in test_buffer. (GH-8414) e0d67f1
Activity
serhiy-storchaka commentedon Jul 23, 2018
memoryview.readonly is a bool, but ndarray.readonly is an int 0 or 1. The proposed PR makes ndarray.readonly a bool and makes test_buffer using more strict assertIs() instead of assertEqual() for testing boolean values.
serhiy-storchaka commentedon Jul 26, 2018
New changeset e0d67f1 by Serhiy Storchaka in branch 'master':
bpo-34201: Make ndarray.readonly a bool and use stricter tests in test_buffer. (GH-8414)
e0d67f1