diff --git a/python_modules/dagster/dagster_tests/core_tests/execution_tests/test_asset_execution_context.py b/python_modules/dagster/dagster_tests/core_tests/execution_tests/test_asset_execution_context.py index 55d127c3ba1a6..9e19b237cf5b6 100644 --- a/python_modules/dagster/dagster_tests/core_tests/execution_tests/test_asset_execution_context.py +++ b/python_modules/dagster/dagster_tests/core_tests/execution_tests/test_asset_execution_context.py @@ -141,13 +141,13 @@ def test_instance_check(): @asset def test_op_context_instance_check(context: AssetExecutionContext): - isinstance(context, OpExecutionContext) + assert isinstance(context, OpExecutionContext) with pytest.raises(DeprecationWarning): materialize([test_op_context_instance_check]) @asset def test_asset_context_instance_check(context: AssetExecutionContext): - isinstance(context, AssetExecutionContext) + assert isinstance(context, AssetExecutionContext) assert materialize([test_asset_context_instance_check]).success