Closed picca closed 6 months ago
That patch dates from 5.8.7 Are you sure it is not corrected in current source code?
def assert_array_equal(self, *var):
if sys.maxsize > 2**32:
# 64-bit interpreter
return numpy.testing.assert_array_equal(*var)
else:
# 32-bit interpreter
return numpy.testing.assert_allclose(*var)
Does it fail in a 64-bit machine?
I did not try without the patch, I should remove it and see what is going on...
thanks
Fred
I guess it works on 64-bit machines too. Is it the case? If so, we can close this issue.
oui :))
----- Le 11 Mar 24, à 15:09, V. Armando Solé @.*** a écrit :
I guess it works on 64-bit machines too. Is it the case? If so, we can close this issue.
-- Reply to this email directly or view it on GitHub: https://github.com/vasole/pymca/issues/1066#issuecomment-1988533562 You are receiving this because you authored the thread.
Message ID: @.***>
Hello armando.
In order to pass tests I need this patch in PyMCA.
https://sources.debian.org/src/pymca/5.8.7+dfsg-2/debian/patches/0002-Replace-assert_array_equal-by-assert_allclose-in-tes.patch/
Could you integrate it into the PyMCA sources ?
thanks
Frédéric