Skip to content

Commit dc46d7c

Browse files
committed
Skip coverage for some exceptions and link to issues
1 parent d93fa98 commit dc46d7c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/vws/exceptions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ def response(self) -> Response:
156156
return self._response
157157

158158

159-
class RequestQuotaReached(Exception):
159+
# See https://github.com/adamtheturtle/vws-python/issues/822.
160+
class RequestQuotaReached(Exception): # pragma: no cover
160161
"""
161162
Exception raised when Vuforia returns a response with a result code
162163
'RequestQuotaReached'.
@@ -318,7 +319,8 @@ def response(self) -> Response:
318319
return self._response
319320

320321

321-
class DateRangeError(Exception):
322+
# See https://github.com/adamtheturtle/vws-python/issues/846.
323+
class DateRangeError(Exception): # pragma: no cover
322324
"""
323325
Exception raised when Vuforia returns a response with a result code
324326
'DateRangeError'.

0 commit comments

Comments
 (0)