Skip to content

Commit 57b26ff

Browse files
authored
Fix minor error in a python test. (#162)
1 parent 74613eb commit 57b26ff

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dpctl/tests/test_sycl_queue_manager.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@
2929
class TestGetNumPlatforms(unittest.TestCase):
3030
@unittest.skipIf(not dpctl.has_sycl_platforms(), "No SYCL platforms available")
3131
def test_dpctl_get_num_platforms(self):
32-
if dpctl.has_sycl_platforms:
33-
self.assertGreaterEqual(dpctl.get_num_platforms(), 1)
32+
self.assertGreaterEqual(dpctl.get_num_platforms(), 1)
3433

3534

3635
@unittest.skipIf(not dpctl.has_sycl_platforms(), "No SYCL platforms available")

0 commit comments

Comments
 (0)