Skip to content

Commit c7406db

Browse files
committed
Sort includes
1 parent f6b8ed5 commit c7406db

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

dpctl/_sycl_queue.pyx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ from .enum_types import backend_type
6666

6767
from cpython cimport pycapsule
6868
from cpython.buffer cimport (
69-
PyObject_CheckBuffer,
7069
Py_buffer,
71-
PyObject_GetBuffer,
72-
PyBUF_SIMPLE,
7370
PyBUF_ANY_CONTIGUOUS,
71+
PyBUF_SIMPLE,
7472
PyBUF_WRITABLE,
75-
PyBuffer_Release
73+
PyBuffer_Release,
74+
PyObject_CheckBuffer,
75+
PyObject_GetBuffer,
7676
)
7777
from cpython.ref cimport Py_DECREF, Py_INCREF, PyObject
7878
from libc.stdlib cimport free, malloc

dpctl/tests/test_sycl_queue_memcpy.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,12 @@
1717
"""Defines unit test cases for the SyclQueue.memcpy.
1818
"""
1919

20+
import numpy as np
2021
import pytest
2122

2223
import dpctl
2324
import dpctl.memory
2425

25-
import numpy as np
26-
2726

2827
def _create_memory(q):
2928
nbytes = 1024

0 commit comments

Comments
 (0)