Skip to content

Commit f227c7b

Browse files
fix(test): use Popen[bytes] annotation for msvcrt lock test
1 parent 88bf398 commit f227c7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_export_state_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ def test_export_state_lock_blocks_second_process(tmp_path: Path) -> None:
149149
"with export_state_lock(path):\n"
150150
" Path(acquired).write_text('ok', encoding='utf-8')\n"
151151
)
152-
proc: subprocess.Popen[str] | None = None
152+
proc: subprocess.Popen[bytes] | None = None
153153
try:
154154
with export_state_lock(str(state_file)):
155155
proc = subprocess.Popen(

0 commit comments

Comments
 (0)