Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Dec 7, 2023
1 parent 30ef7ef commit 04cdfb5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ def __init__(self):
@op
def test_op_context_instance_check(context: OpExecutionContext):
step_context = context._step_execution_context # noqa: SLF001
asset_context = AssetExecutionContext(step_execution_context=step_context)
op_context = OpExecutionContext(step_execution_context=step_context)
asset_context = AssetExecutionContext(op_execution_context=op_context)
with pytest.raises(DeprecationWarning):
isinstance(asset_context, OpExecutionContext)
assert not isinstance(op_context, AssetExecutionContext)
Expand Down

0 comments on commit 04cdfb5

Please sign in to comment.