Skip to content

Commit dc5ec24

Browse files
committed
fix regex structure
1 parent 9e0482c commit dc5ec24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: examples/docs_snippets/docs_snippets/concepts/io_management/test_build_io_context.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def cm_resource():
3535
with pytest.raises(
3636
DagsterInvariantViolationError,
3737
match=re.escape(
38-
"At least one provided dg.resource is a generator, but attempting to"
38+
"At least one provided resource is a generator, but attempting to"
3939
" access resources outside of context manager scope. You can use the"
4040
" following syntax to open a context manager: `with"
4141
" build_input_context(...) as context:`",
@@ -74,7 +74,7 @@ def cm_resource():
7474
with pytest.raises(
7575
DagsterInvariantViolationError,
7676
match=re.escape(
77-
"At least one provided dg.resource is a generator, but attempting to"
77+
"At least one provided resource is a generator, but attempting to"
7878
" access resources outside of context manager scope. You can use the"
7979
" following syntax to open a context manager: `with"
8080
" build_output_context(...) as context:`",

0 commit comments

Comments
 (0)