Skip to content

Commit 832ff30

Browse files
committed
Fix test.
1 parent 766bb30 commit 832ff30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_task_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ExampleAttrs:
4646
[
4747
({"hello": 1}, does_not_raise(), {"hello": 1}),
4848
(ExampleNT(), does_not_raise(), {"a": 1}),
49-
(ExampleNT, pytest.raises(TypeError, match="_asdict() missing 1"), None),
49+
(ExampleNT, pytest.raises(TypeError, match=r"(_asdict\(\) missing 1)"), None),
5050
(ExampleAttrs(), does_not_raise(), {"b": "wonderful"}),
5151
(ExampleAttrs, pytest.raises(ValueError, match="@pytask.mark.task"), None),
5252
(1, pytest.raises(ValueError, match="@pytask.mark.task"), None),

0 commit comments

Comments
 (0)