We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee67e84 commit 9b61575Copy full SHA for 9b61575
1 file changed
tests/wqp_test.py
@@ -238,15 +238,3 @@ def test_get_results_wqx3_preserves_user_dataProfile(requests_mock):
238
assert isinstance(df, DataFrame)
239
sent = requests_mock.request_history[-1]
240
assert sent.qs.get("dataprofile") == ["narrow"]
241
-
242
243
-def test_get_results_wqx3_invalid_dataProfile_raises():
244
- """Invalid WQX3.0 dataProfile raises ValueError, not TypeError."""
245
- with pytest.raises(ValueError, match="WQX3.0 profile"):
246
- get_results(legacy=False, dataProfile="not_a_real_profile")
247
248
249
-def test_get_results_legacy_invalid_dataProfile_raises():
250
- """Invalid legacy dataProfile raises ValueError, not TypeError."""
251
- with pytest.raises(ValueError, match="legacy profile"):
252
- get_results(legacy=True, dataProfile="not_a_real_profile")
0 commit comments