Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion tests/test_026_windows_dll_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@
import re
from pathlib import Path

_LOADER_SRC = Path(__file__).resolve().parents[1] / "mssql_python" / "pybind" / "ddbc_bindings.cpp"
import pytest

_PYBIND_DIR = Path(__file__).resolve().parents[1] / "mssql_python" / "pybind"
_LOADER_SRC = _PYBIND_DIR / "ddbc_bindings.cpp"
pytestmark = pytest.mark.skipif(
not _PYBIND_DIR.is_dir(),
reason="requires a source checkout; isolated wheel tests omit the source tree",
)


def _code_without_comments(text):
Expand Down
Loading