Skip to content

Commit 9f3c79d

Browse files
committed
Add a docstring [skip ci]
1 parent d7e8478 commit 9f3c79d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

spelling_private_dict.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
AuthenticationFailure
22
BadImage
3+
ConnectionErrorPossiblyImageTooLarge
34
ImageTooLarge
45
MatchProcessing
56
MaxNumResultsOutOfRange

tests/test_query.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ def test_too_large(
5656
cloud_reco_client: CloudRecoService,
5757
png_too_large: io.BytesIO,
5858
) -> None:
59+
"""
60+
A ``ConnectionErrorPossiblyImageTooLarge`` exception is raised if an
61+
image which is too large is given.
62+
"""
5963
with pytest.raises(ConnectionErrorPossiblyImageTooLarge):
6064
cloud_reco_client.query(image=png_too_large)
6165

0 commit comments

Comments
 (0)