Skip to content

Commit abeea34

Browse files
Removed attempt to initialize c++ stream
no longer needed wit #620 merged
1 parent 8fc1535 commit abeea34

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

dpctl/tests/test_sycl_queue.py

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"""
1919

2020
import ctypes
21-
import ctypes.util
21+
import sys
2222

2323
import pytest
2424

@@ -406,13 +406,6 @@ def test_channeling_device_properties():
406406
except dpctl.SyclQueueCreationError:
407407
pytest.fail("Failed to create device from default selector")
408408

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-
416409
q_fh = OutputGrabber()
417410
with q_fh:
418411
q.print_device_info() # should execute without raising
@@ -480,9 +473,6 @@ def test_queue_capsule():
480473

481474

482475
def test_cpython_api():
483-
import ctypes
484-
import sys
485-
486476
q = dpctl.SyclQueue()
487477
mod = sys.modules[q.__class__.__module__]
488478
# get capsule storign get_context_ref function ptr

0 commit comments

Comments
 (0)