File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
tests/robotcode/robot/config Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ def test_if_profile_is_not_defined_an_error_is_raised() -> None:
113
113
114
114
with pytest .raises (
115
115
ValueError ,
116
- match = "Can't find any configuration profiles matching the pattern 'nonexistent'." ,
116
+ match = r "Can't find any configuration profiles matching the pattern 'nonexistent'." ,
117
117
):
118
118
config .combine_profiles ("nonexistent" )
119
119
@@ -242,7 +242,7 @@ def test_profiles_enabled_cant_be_an_invalid_condition() -> None:
242
242
"""
243
243
config = load_robot_config_from_robot_toml_str (data )
244
244
os .environ ["CI" ] = "true"
245
- with pytest .raises (ValueError , match = ".*invalid syntax.*" ):
245
+ with pytest .raises (ValueError , match = r ".*invalid syntax.*" ):
246
246
config .combine_profiles ("*" )
247
247
248
248
@@ -372,5 +372,5 @@ def test_type_that_wants_alist_should_throw_an_error() -> None:
372
372
[listeners]
373
373
listener_with_colon = "dummy:output"
374
374
"""
375
- with pytest .raises (TypeError , match = ".*Value '.*' must be of type.*" ):
375
+ with pytest .raises (TypeError , match = r ".*Value '.*' must be of type.*" ):
376
376
load_robot_config_from_robot_toml_str (data )
You can’t perform that action at this time.
0 commit comments