Skip to content

Commit

Permalink
Move version parsing tests into misc.
Browse files Browse the repository at this point in the history
  • Loading branch information
Diptorup Deb committed Apr 25, 2023
1 parent ddf82e9 commit 3abfe12
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 27 deletions.
15 changes: 15 additions & 0 deletions numba_dpex/tests/misc/test_dpctl_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# SPDX-FileCopyrightText: 2020 - 2023 Intel Corporation
#
# SPDX-License-Identifier: Apache-2.0

import dpctl

from numba_dpex import dpctl_version


def test_dpctl_version():
dpctl_v = dpctl.__version__
computed_v = ".".join(str(n) for n in dpctl_version)
n = len(computed_v)
assert n <= len(dpctl_v)
assert computed_v == dpctl_v[:n]
File renamed without changes.
27 changes: 0 additions & 27 deletions numba_dpex/tests/test_dpctl_api.py

This file was deleted.

0 comments on commit 3abfe12

Please sign in to comment.