Skip to content

Commit

Permalink
conditionally include windows-specific module
Browse files Browse the repository at this point in the history
  • Loading branch information
supervacuus committed Nov 11, 2024
1 parent a3bbde0 commit f175494
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

import pytest

from tests.win_utils import check_binary_version


class CMake:
def __init__(self, factory):
Expand Down Expand Up @@ -210,6 +208,8 @@ def cmake(cwd, targets, options=None):

# check if the DLL and EXE artifacts contain version-information
if platform.system() == "Windows":
from tests.win_utils import check_binary_version

check_binary_version(Path(cwd) / "sentry.dll")
check_binary_version(Path(cwd) / "crashpad_wer.dll")
check_binary_version(Path(cwd) / "crashpad_handler.exe")
Expand Down

0 comments on commit f175494

Please sign in to comment.