Skip to content

Commit

Permalink
Fix string arguments to driver.submit()
Browse files Browse the repository at this point in the history
Typing dictates that this should be strings, not PosixPath
  • Loading branch information
berland committed Apr 4, 2024
1 parent d441394 commit 06bc54e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/scheduler/test_local_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ async def test_kill_unresponsive_process(monkeypatch, tmp_path):

driver = LocalDriver()

await driver.submit(42, "/usr/bin/env", "bash", tmp_path / "script")
await driver.submit(42, "/usr/bin/env", "bash", str(tmp_path / "script"))
assert await driver.event_queue.get() == StartedEvent(iens=42)

# Allow the script to trap signals
Expand Down

0 comments on commit 06bc54e

Please sign in to comment.