diff --git a/test/test_protocol.py b/test/test_protocol.py index 9e4665b..175c2ba 100644 --- a/test/test_protocol.py +++ b/test/test_protocol.py @@ -46,9 +46,12 @@ try: EiDevice, EiSeat, ) -except ImportError: +except ModuleNotFoundError as e: # This file needs to be processed by meson, so let's skip when this fails in the source dir - pytest.skip(allow_module_level=True) + if e.name == "eiproto": + pytest.skip(allow_module_level=True) + else: + raise e logger = structlog.get_logger()