Skip to content

Commit 55157cd

Browse files
author
brandon
committed
the linters are picky
1 parent 65028a9 commit 55157cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/test_groundlight.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ def test_delete_detector(gl: Groundlight):
877877
gl.delete_detector(detector)
878878

879879
# Verify the detector is actually deleted
880-
with pytest.raises(ApiException) as exc_info:
880+
with pytest.raises(ApiException):
881881
gl.get_detector(detector.id)
882882

883883
# Create another detector to test deletion by ID string and that an attached image query is deleted
@@ -891,7 +891,7 @@ def test_delete_detector(gl: Groundlight):
891891
gl.delete_detector(detector2.id)
892892

893893
# Verify the second detector is also deleted
894-
with pytest.raises(ApiException) as exc_info:
894+
with pytest.raises(ApiException):
895895
gl.get_detector(detector2.id)
896896

897897
# Verify the image query is also deleted

0 commit comments

Comments
 (0)