Skip to content

Commit 529133d

Browse files
committed
Simplify further
1 parent 5683f54 commit 529133d

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

cuda_core/tests/example_tests/test_basic_examples.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@
1515

1616
from cuda.core import Device, system
1717

18-
# Each example in cuda_core/examples is tested in two ways:
19-
#
20-
# 1) Directly running the example in the same environment as the test suite.
21-
# This gives access to the current development version of cuda_core.
22-
# 2) Running the example in a subprocess with "uv run" to verify that the PEP
23-
# 723 metadata works correctly and that the example can be run in isolation from
24-
# the test suite.
25-
2618

2719
def has_compute_capability_9_or_higher() -> bool:
2820
return Device().compute_capability >= (9, 0)
@@ -46,14 +38,6 @@ def is_x86_64() -> bool:
4638
return platform.machine() == "x86_64"
4739

4840

49-
def uv_installed() -> bool:
50-
try:
51-
subprocess.run(["uv", "--version"], check=True) # noqa: S607
52-
except (subprocess.CalledProcessError, FileNotFoundError):
53-
return False
54-
return True
55-
56-
5741
def has_cuda_path() -> bool:
5842
return os.environ.get("CUDA_PATH", os.environ.get("CUDA_HOME")) is not None
5943

0 commit comments

Comments
 (0)