Skip to content

Commit f1a36d6

Browse files
committed
Try to fix tests
1 parent 86cf4d0 commit f1a36d6

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

cuda_core/cuda/core/system/_device.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import warnings
1212
from cuda.bindings import nvml
1313

1414
from ._nvml_context cimport initialize
15-
from .typing import (
15+
from cuda.core.typing import (
1616
AddressingMode,
1717
AffinityScope,
1818
DeviceArch,

cuda_core/cuda/core/system/_system_events.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ from cuda.bindings import nvml
1010
from ._nvml_context cimport initialize
1111

1212
from . import _device
13-
from .typing import SystemEventType
13+
from cuda.core.typing import SystemEventType
1414

1515

1616
_SYSTEM_EVENT_TYPE_MAPPING = {

cuda_core/tests/test_enum_coverage.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ def test_wrapper_covers_all_binding_members(binding, str_enum, mapping, binding_
251251
)
252252

253253

254+
@pytest.mark.skipif(sys.version_info < (3, 11), reason="Requires Python 3.11+ for StrEnum")
254255
def test_all_str_enums_in_cases():
255256
"""Every StrEnum subclass in cuda.core must appear in _CASES or _UNBOUND_STR_ENUMS.
256257

0 commit comments

Comments
 (0)