Skip to content

Commit

Permalink
Enable 'test_protobuf_implementation' again but disable for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
BurnySc2 committed Aug 3, 2024
1 parent cdf5d6c commit b60f601
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions test/test_pickled_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,11 @@ def get_map_specific_bot(map_path: Path) -> BotAI:
return build_bot_object_from_pickle_data(*data)


# TODO Fixme
# def test_protobuf_implementation():
# """Make sure that cpp is used as implementation"""
# # Doesn't seem to be implemented in newer python versions
# if sys.version_info.major == 3 and sys.version_info.minor < 10:
# assert api_implementation.Type() == "cpp"
def test_protobuf_implementation():
"""Make sure that cpp is used as implementation"""
# Doesn't seem to be implemented in newer python versions
if sys.version_info.major == 3 and sys.version_info.minor < 10 and sys.platform != "darwin":
assert api_implementation.Type() == "cpp"


def test_bot_ai():
Expand Down

0 comments on commit b60f601

Please sign in to comment.