Skip to content

Commit

Permalink
Merge pull request #1515 from IntelPython/fix-types-property-test
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk authored Jan 30, 2024
2 parents 16a9c81 + 8d72b07 commit 11a933e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions dpctl/tests/elementwise/test_abs.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,8 @@ def test_abs_usm_type(usm_type):
assert np.allclose(dpt.asnumpy(Y), expected_Y)


def test_abs_types_prop():
def test_abs_types_property():
get_queue_or_skip()
types = dpt.abs.types_
assert types is None
types = dpt.abs.types
assert isinstance(types, list)
assert len(types) > 0
Expand Down
2 changes: 0 additions & 2 deletions dpctl/tests/elementwise/test_add.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,8 +260,6 @@ def __sycl_usm_array_interface__(self):

def test_add_types_property():
get_queue_or_skip()
types = dpt.add.types_
assert types is None
types = dpt.add.types
assert isinstance(types, list)
assert len(types) > 0
Expand Down

0 comments on commit 11a933e

Please sign in to comment.