Skip to content

Commit ece181d

Browse files
authored
Chore: fix string escape warning (#4394)
1 parent 347d105 commit ece181d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integrations/jupyter/test_magics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ def test_run_dag(
344344
actual_html_output = get_all_html_output(output)
345345
# Replace dynamic elapsed time with 00
346346
for i, chunk in enumerate(actual_html_output):
347-
pattern = 'font\-weight: bold">0\.</span>\\d{2}s </pre>'
347+
pattern = r'font-weight: bold">0.</span>\d{2}s </pre>'
348348
import re
349349

350350
actual_html_output[i] = re.sub(pattern, 'font-weight: bold">0.</span>00s </pre>', chunk)

0 commit comments

Comments
 (0)