Skip to content

Commit f8e7465

Browse files
committed
Merge branch 'a-few-more-exceptions' into client
2 parents 0610168 + d4b4771 commit f8e7465

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_exceptions.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,7 @@ def test_fail(high_quality_image: io.BytesIO) -> None:
110110
image=high_quality_image,
111111
)
112112

113-
exception = exc.value
114-
assert exception.response.status_code == codes.BAD_REQUEST
113+
assert exc.value.response.status_code == codes.BAD_REQUEST
115114

116115

117116
def test_bad_image(client: VWS) -> None:

0 commit comments

Comments
 (0)