1 2 3 4 5 6 7 8 9 10 11 12 13
|
Author: Vincent Prat <vinceprat@free.fr>
Description: Fix a series of test failures on 32 bits architectures
--- a/astroquery/sdss/tests/test_sdss.py
+++ b/astroquery/sdss/tests/test_sdss.py
@@ -140,6 +140,8 @@
for col in xid.colnames:
if xid[col].dtype.type is np.string_:
assert xid[col] == data[col]
+ elif data[col].dtype.type is np.string_:
+ assert (map(np.string_,xid[col]) == data[col]).all()
else:
assert_allclose(xid[col], data[col])
|