You've already forked randovania
mirror of
https://github.com/CraftyBoss/randovania.git
synced 2026-07-14 05:07:31 -07:00
Merge pull request #3934 from randovania/feature/py-3.11-compat
Code fixes for Python 3.11
This commit is contained in:
@@ -41,10 +41,10 @@ async def _process_command_async(args: list[str], input_data: str, read_callback
|
||||
stdout=asyncio.subprocess.PIPE,
|
||||
stderr=asyncio.subprocess.STDOUT)
|
||||
|
||||
await asyncio.wait([
|
||||
await asyncio.gather(
|
||||
_write_data(process.stdin, input_data),
|
||||
_read_data(process.stdout, read_callback),
|
||||
])
|
||||
)
|
||||
await process.wait()
|
||||
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@ def test_pickup_data_for_a_major(dread_game_description, preset_manager):
|
||||
description = MagicMock(spec=LayoutDescription)
|
||||
description.all_patches = {0: MagicMock()}
|
||||
description.get_preset.return_value = preset
|
||||
description.get_seed_for_player.return_value = 1000
|
||||
|
||||
# Setup
|
||||
pickup = pickup_creator.create_major_item(
|
||||
|
||||
Reference in New Issue
Block a user