File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1331,9 +1331,9 @@ def test_table_cell_non_paragraph_error(
13311331 """
13321332
13331333 expected_message = (
1334- "Notion table cells can only contain paragraph content. "
1335- "Found non-paragraph nodes: bullet_list on line None "
1336- "in None\\ . "
1334+ r "Notion table cells can only contain paragraph content. "
1335+ r "Found non-paragraph nodes: bullet_list on line None "
1336+ r "in None.$ "
13371337 )
13381338 with pytest .raises (expected_exception = ValueError , match = expected_message ):
13391339 _assert_rst_converts_to_notion_objects (
@@ -1501,8 +1501,8 @@ def test_heading_level_4_error(
15011501 """
15021502
15031503 expected_message = (
1504- "Notion only supports heading levels 1-3, but found heading level 4 "
1505- "on line 11."
1504+ r "Notion only supports heading levels 1-3, but found heading level 4 "
1505+ r "on line 11.$ "
15061506 )
15071507 with pytest .raises (
15081508 expected_exception = ValueError ,
You can’t perform that action at this time.
0 commit comments