Skip to content

Commit 43926ec

Browse files
committed
Work around windows dtype issue in tests
1 parent e23180e commit 43926ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/sdss/tests/test_sdss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ def url_tester_crossid(data_release):
145145
def compare_xid_data(xid, data):
146146
for col in xid.colnames:
147147
if xid[col].dtype.type is np.str_:
148-
assert xid[col] == data[col]
148+
assert all(xid[col] == data[col])
149149
else:
150150
assert_allclose(xid[col], data[col])
151151

0 commit comments

Comments
 (0)