Skip to content

Commit 7cc74c9

Browse files
committed
Fix failing regexes
1 parent 3b15487 commit 7cc74c9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_hydra.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ def test_frozen_primary_config(
15881588
^Error executing job with overrides: \[\]\n?
15891589
Traceback \(most recent call last\):
15901590
File "\S*[/\\]my_app.py", line 10, in my_app
1591-
deprecation_warning\("Feature FooBar is deprecated"\)(\n ~~~+\^+)?
1591+
deprecation_warning\("Feature FooBar is deprecated"\)(\n [~\^]+)?
15921592
File "\S*\.py", line 11, in deprecation_warning
15931593
raise HydraDeprecationError\(.*\)
15941594
hydra\.errors\.HydraDeprecationError: Feature FooBar is deprecated

tests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_success(self) -> None:
233233
r"""
234234
Traceback \(most recent call last\):
235235
File "[^"]+", line \d+, in job_calling_omconf
236-
OmegaConf.resolve\(123\) # type: ignore(\n ~~~+\^+)?
236+
OmegaConf.resolve\(123\) # type: ignore(\n [~\^]+)?
237237
ValueError: Invalid config type \(int\), expected an OmegaConf Container
238238
239239
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace\.

0 commit comments

Comments
 (0)