Skip to content

Commit 0f22846

Browse files
committed
Use EXT_SUFFIX
1 parent 18c2700 commit 0f22846

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cuda_bindings/tests/test_cython_abi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def check(package: str, abi_dir: Path) -> tuple[bool, bool]:
110110

111111
def regenerate(package: str, abi_dir: Path) -> None:
112112
build_dir = get_package_path(package)
113-
for so_path in Path(build_dir).glob("**/*.so"):
113+
for so_path in Path(build_dir).glob("**/*{EXT_SUFFIX}"):
114114
print(f"Generating ABI from {so_path.relative_to(build_dir)}")
115115
module = import_from_path(package, build_dir, so_path)
116116
if hasattr(module, "__pyx_capi__"):

0 commit comments

Comments
 (0)