Skip to content

Commit 2ba340c

Browse files
committed
Fix overzealous ruff check --fix
1 parent 5797e99 commit 2ba340c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/worker/workflow_sandbox/test_importer.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
def test_workflow_sandbox_importer_invalid_module():
2020
with pytest.raises(RestrictedWorkflowAccessError) as err:
2121
with Importer(restrictions, RestrictionContext()).applied():
22-
pass
22+
import tests.worker.workflow_sandbox.testmodules.invalid_module # noqa: F401
2323
assert (
2424
err.value.qualified_name
2525
== "tests.worker.workflow_sandbox.testmodules.invalid_module"

0 commit comments

Comments
 (0)