Skip to content

Commit

Permalink
Fix typing errors in tests/run.py
Browse files Browse the repository at this point in the history
  • Loading branch information
touilleMan committed Oct 18, 2023
1 parent 603c363 commit c818a6a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def fetch_godot_binary_if_needed(build_dir: Path, godot_version_hint: str) -> Pa
spec = importlib.util.spec_from_file_location(
"download_python", BASEDIR / "../scripts/fetch_godot.py"
)
assert spec is not None and spec.loader is not None
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)

Expand Down Expand Up @@ -162,7 +163,7 @@ def run_test(
total_output = b""
subprocess_done = False
while True:
buff: bytes = res.stdout.read1()
buff: bytes = res.stdout.read1() # type: ignore
total_output += buff
os.write(sys.stdout.fileno(), buff)
if subprocess_done:
Expand Down

0 comments on commit c818a6a

Please sign in to comment.