Skip to content

Commit 0a9be40

Browse files
committed
formatting
1 parent 57ead02 commit 0a9be40

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

cuda_core/tests/conftest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,19 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
import multiprocessing
5+
import pathlib
6+
import sys
57

68
import helpers
79
import pytest
8-
import sys
9-
import pathlib
1010

1111
try:
1212
from cuda.bindings import driver
1313
except ImportError:
1414
from cuda import cuda as driver
1515
from cuda.core.experimental import Device, _device
1616
from cuda.core.experimental._utils.cuda_utils import handle_return
17+
1718
# Import shared platform helpers for tests across repos
1819
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parents[2]))
1920
from cuda_python_test_helpers import IS_WSL # noqa: F401 (imported for test modules)

cuda_core/tests/test_ipc_mempool.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111

1212
import pytest
1313
from cuda.core.experimental import Buffer, Device, DeviceMemoryResource, IPCChannel, MemoryResource
14-
from cuda_python_test_helpers import supports_ipc_mempool
1514
from cuda.core.experimental._utils.cuda_utils import handle_return
1615

16+
from cuda_python_test_helpers import supports_ipc_mempool
17+
1718
CHILD_TIMEOUT_SEC = 10
1819
NBYTES = 64
1920
POOL_SIZE = 2097152

cuda_core/tests/test_memory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from cuda.core.experimental import Buffer, Device, DeviceMemoryResource, MemoryResource
1414
from cuda.core.experimental._memory import DLDeviceType, IPCBufferDescriptor
1515
from cuda.core.experimental._utils.cuda_utils import handle_return
16+
1617
from cuda_python_test_helpers import supports_ipc_mempool
1718

1819
POOL_SIZE = 2097152 # 2MB size

cuda_core/tests/utils/platform.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
"""Deprecated: use nvtest_platform.IS_WSL instead."""
2-

0 commit comments

Comments
 (0)