Skip to content

Commit 3e6e825

Browse files
committed
fix(test-loadable): use raw string for regex with escape sequence
1 parent 5008551 commit 3e6e825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-loadable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ def test_vec0_text_pk():
16281628

16291629
if SUPPORTS_VTAB_IN:
16301630
assert re.match(
1631-
("SCAN (TABLE )?t VIRTUAL TABLE INDEX 0:3{___}___\[___"),
1631+
(r"SCAN (TABLE )?t VIRTUAL TABLE INDEX 0:3{___}___\[___"),
16321632
explain_query_plan(
16331633
"select t_id, distance from t where aaa match '' and k = 3 and t_id in ('t_2', 't_3')",
16341634
db=db,

0 commit comments

Comments
 (0)