Skip to content

Commit

Permalink
Skip test 'test_dicts' on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnySc2 committed Oct 23, 2024
1 parent 0dc9937 commit 95c117c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions test/test_pickled_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -969,8 +969,8 @@ def test_dicts():
logger.info(f"Import error: dict sc2/dicts/unit_research_abilities.py is missing!")
return

# If on macOS: skip (fails on several upgrades)
if sys.platform == "darwin":
# If on macOS or Linux: skip (fails on several upgrades on github actions)
if sys.platform == "darwin" or platform.system() == "Linux":
return

bot: BotAI = get_map_specific_bot(random.choice(MAPS))
Expand All @@ -985,10 +985,6 @@ def test_dicts():
if upgrade_id.value in {116, 117, 118}:
# Research abilities for armory armor plating are mapped incorrectly in the API
continue
if upgrade_id.value in {296, 297} and platform.system() == "Linux":
# TODO fix me, does not work on linux
# HURRICANETHRUSTERS and TEMPESTGROUNDATTACKUPGRADE were changed in 5.0.12
continue
assert (
research_ability_correct == research_ability_from_api
), f"Research abilities do not match: Correct one is {research_ability_correct} but API returned {research_ability_from_api}"
Expand Down

0 comments on commit 95c117c

Please sign in to comment.