Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TST: Fix devdeps job #14075

Merged
merged 2 commits into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion astropy/io/ascii/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1143,7 +1143,7 @@ def _convert_vals(self, cols):
f" column {col.name}, reverting to String.",
AstropyWarning,
)
col.converters.insert(0, convert_numpy(numpy.str))
col.converters.insert(0, convert_numpy(str))
else:
col.converters.pop(0)
last_err = err
Expand Down
5 changes: 4 additions & 1 deletion astropy/table/tests/test_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -2158,7 +2158,10 @@ def test_masking(self, use_nullable_int):
else:
assert t2[name].dtype.kind == "i"

assert_array_equal(column.data, t2[name].data.astype(column.dtype))
# This warning pops up when use_nullable_int is False
# for pandas 1.5.2.
with np.errstate(invalid="ignore"):
assert_array_equal(column.data, t2[name].data.astype(column.dtype))
else:
if column.dtype.byteorder in ("=", "|"):
assert column.dtype == t2[name].dtype
Expand Down