Skip to content

Commit 85ca0b8

Browse files
feat: add test
1 parent a9fe306 commit 85ca0b8

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

tests/packages/find_package/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
cmake_minimum_required(VERSION 3.15...3.26)
22

3-
project(
4-
${SKBUILD_PROJECT_NAME}
5-
VERSION ${SKBUILD_PROJECT_VERSION})
3+
project(${SKBUILD_PROJECT_NAME} VERSION ${SKBUILD_PROJECT_VERSION})
64

75
find_package(Python COMPONENTS Interpreter Development.Module)
86

tests/test_find_package.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@
33
import os
44
import subprocess
55
import sys
6-
import virtualenv as _virtualenv
7-
import pytest
86
from pathlib import Path
97
from typing import Literal, overload
108

9+
import pytest
10+
import virtualenv as _virtualenv
11+
1112
DIR = Path(__file__).parent.resolve()
1213
BASE = DIR / "packages" / "find_package"
1314

0 commit comments

Comments
 (0)