Skip to content

Commit d1b24ec

Browse files
committed
Fix failing test
1 parent 07953c6 commit d1b24ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_libzim_creator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def test_creator_additem(fpath, lipsum_item):
373373
c.add_item(None) # pyright: ignore [reportCallIssue, reportArgumentType]
374374
with pytest.raises(RuntimeError):
375375
c.add_item("hello") # pyright: ignore [reportCallIssue, reportArgumentType]
376-
with pytest.raises(TypeError, match="takes exactly 1 positional argument"):
376+
with pytest.raises(TypeError):
377377
c.add_item(mimetype="text/html") # pyright: ignore [reportCallIssue]
378378

379379

0 commit comments

Comments
 (0)