Closed Happypig375 closed 2 years ago
Is it a correct test in the first place? The corresponding python code in file ArrayCreationTests.py
is
import numpy as np
x = np.arange(0,32, dtype= np.int16).reshape(8,4)
print("X")
print(x)
print(x.shape)
y = np.delete(x, 0, axis=1)
y[1] = 99
print("Y")
print(y)
print(y.shape)
print("X")
print(x)
and by logic it does not make sense how deleting along axis 0 (rows) will delete a column. Perhaps it's the test that should be fixed?
Test updated
I have accepted your changes and merged them into master. Thank you again.
You're welcome!
I can't accept these changes because this unit test fails. If you can fix that problem, I will consider accepting the change. Thank you.