Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

test(visual): close the lock test's child stdout (no ResourceWarning under -W error)

eyalgolan6464664f5a15
diff --git a/tools/tests/test_machine_lock.py b/tools/tests/test_machine_lock.py
index ad36a7004..58414ac5f 100644
--- a/tools/tests/test_machine_lock.py
+++ b/tools/tests/test_machine_lock.py
@@ -51,6 +51,7 @@ def test_a_shared_holder_really_blocks_an_exclusive_lock(tmp_path):
finally:
child.terminate()
child.wait(10)
+ child.stdout.close()
def test_an_editor_holding_a_worktree_lockfile_counts_as_unity(tmp_path):