Skip to content

Commit 0d1890d

Browse files
authored
Fix assertion method in test_utils.py
Signed-off-by: Enoch Mok <65853622+e-mny@users.noreply.github.com>
1 parent 1af22aa commit 0d1890d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def test_download_url():
202202
)
203203

204204
# fails with wrong hash
205-
with self.assertRaises(RuntimeError):
205+
with unittest.assertRaises(RuntimeError):
206206
download_url(
207207
url=SAMPLE_TIFF,
208208
filepath=os.path.join(tempdir, "model_bad.tiff"),

0 commit comments

Comments
 (0)