File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change 18
18
"""
19
19
20
20
import ctypes
21
- import ctypes . util
21
+ import sys
22
22
23
23
import pytest
24
24
@@ -406,13 +406,6 @@ def test_channeling_device_properties():
406
406
except dpctl .SyclQueueCreationError :
407
407
pytest .fail ("Failed to create device from default selector" )
408
408
409
- libc = ctypes .cdll .LoadLibrary (ctypes .util .find_library ("c" ))
410
-
411
- libc .puts (b"fff" )
412
- out = OutputGrabber ()
413
- with out :
414
- libc .puts (b"fff" )
415
-
416
409
q_fh = OutputGrabber ()
417
410
with q_fh :
418
411
q .print_device_info () # should execute without raising
@@ -480,9 +473,6 @@ def test_queue_capsule():
480
473
481
474
482
475
def test_cpython_api ():
483
- import ctypes
484
- import sys
485
-
486
476
q = dpctl .SyclQueue ()
487
477
mod = sys .modules [q .__class__ .__module__ ]
488
478
# get capsule storign get_context_ref function ptr
You can’t perform that action at this time.
0 commit comments