We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff2a9aa commit 9670d00Copy full SHA for 9670d00
astroquery/simbad/tests/test_simbad_remote.py
@@ -129,7 +129,7 @@ def test_query_tap(self):
129
" c 3")
130
assert expect == str(result)
131
# Test query_tap raised errors
132
- with pytest.raises(DALOverflowWarning, match="Partial result set *"):
+ with pytest.warns(DALOverflowWarning, match="Partial result set *"):
133
truncated_result = Simbad.query_tap("SELECT * from basic", maxrec=2)
134
assert len(truncated_result) == 2
135
with pytest.raises(ValueError, match="The maximum number of records cannot exceed 2000000."):
0 commit comments