Skip to content

Commit

Permalink
Changing test exception type check (#1148)
Browse files Browse the repository at this point in the history
  • Loading branch information
niwilso authored Aug 23, 2023
1 parent 9206d7a commit 994074b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1265,7 +1265,7 @@ def test_get_analyzer_results_exceptions(
mock_engine (DicomImageRedactorEngine): DicomImageRedactorEngine object.
ad_hoc_recognizers(None or list): Ad-hoc recognizers to use.
"""
with pytest.raises(Exception):
with pytest.raises(TypeError):
# Arrange
image = Image.fromarray(np.random.randint(255, size=(400, 400),dtype=np.uint8))
test_instance = pydicom.dcmread(Path(TEST_DICOM_PARENT_DIR, "0_ORIGINAL.dcm"))
Expand Down

0 comments on commit 994074b

Please sign in to comment.