Skip to content

applied black autoformatting #406

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions dpctl/tests/test_sycl_usm.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ def test_pickling(self):


class _TestMemoryUSMBase:
""" Base tests for MemoryUSM* """
"""Base tests for MemoryUSM*"""

def setUp(self):
pass
Expand Down Expand Up @@ -220,23 +220,23 @@ def test_sycl_usm_array_interface(self):


class TestMemoryUSMShared(_TestMemoryUSMBase, unittest.TestCase):
""" Tests for MemoryUSMShared """
"""Tests for MemoryUSMShared"""

def setUp(self):
self.MemoryUSMClass = MemoryUSMShared
self.usm_type = "shared"


class TestMemoryUSMHost(_TestMemoryUSMBase, unittest.TestCase):
""" Tests for MemoryUSMHost """
"""Tests for MemoryUSMHost"""

def setUp(self):
self.MemoryUSMClass = MemoryUSMHost
self.usm_type = "host"


class TestMemoryUSMDevice(_TestMemoryUSMBase, unittest.TestCase):
""" Tests for MemoryUSMDevice """
"""Tests for MemoryUSMDevice"""

def setUp(self):
self.MemoryUSMClass = MemoryUSMDevice
Expand All @@ -261,7 +261,7 @@ def __sycl_usm_array_interface__(self):

class TestMemoryWithView(unittest.TestCase):
def test_suai_non_contig_1D(self):
""" Test of zero-copy using sycl_usm_array_interface with non-contiguous data """
"""Test of zero-copy using sycl_usm_array_interface with non-contiguous data"""

MemoryUSMClass = MemoryUSMShared
try:
Expand Down