Skip to content

Cast test env variables with dtype scope to boolean value #2415

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 3 commits into from
Apr 13, 2025
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ This release achieves 100% compliance with Python Array API specification (revis

* Resolved an issue with an incorrect result returned due to missing dependency from the strided kernel on a copy event in `dpnp.erf` [#2378](https://github.com/IntelPython/dpnp/pull/2378)
* Updated `conda create` commands build and install instructions of `Quick start guide` to avoid a compilation error [#2395](https://github.com/IntelPython/dpnp/pull/2395)
* Added handling of empty string passed to a test env variable defining data type scope as a `False` value [#2415](https://github.com/IntelPython/dpnp/pull/2415)


## [0.17.0] - 02/26/2025
Expand Down
8 changes: 4 additions & 4 deletions dpnp/tests/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import os

all_int_types = int(os.getenv("DPNP_TEST_ALL_INT_TYPES", 0))
float16_types = int(os.getenv("DPNP_TEST_FLOAT_16", 0))
complex_types = int(os.getenv("DPNP_TEST_COMPLEX_TYPES", 0))
bool_types = int(os.getenv("DPNP_TEST_BOOL_TYPES", 0))
all_int_types = bool(os.getenv("DPNP_TEST_ALL_INT_TYPES", 0))
float16_types = bool(os.getenv("DPNP_TEST_FLOAT_16", 0))
complex_types = bool(os.getenv("DPNP_TEST_COMPLEX_TYPES", 0))
bool_types = bool(os.getenv("DPNP_TEST_BOOL_TYPES", 0))
Loading