Skip to content

Commit 6e70fc3

Browse files
committed
test: fix DeprecationWarning for some tests
1 parent 34e7eaa commit 6e70fc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/robotcode/core/test_safeeval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_safe_eval_should_not_allow_builtin_names(expression: str) -> None:
4747
("expression", "result"),
4848
[
4949
("'PATH' in environ", True),
50-
("bool(re.match('\\d+', '1234'))", True),
50+
(r"bool(re.match('\\d+', '1234'))", True),
5151
],
5252
)
5353
def test_safe_eval_simple_should_support_custom_globals(expression: str, result: Any) -> None:

0 commit comments

Comments
 (0)