diff --git a/CHANGELOG.md b/CHANGELOG.md index 24b2c55663fa..5450b60889b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/dpnp/tests/config.py b/dpnp/tests/config.py index 0069efe23ee7..8f7555a4ef62 100644 --- a/dpnp/tests/config.py +++ b/dpnp/tests/config.py @@ -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))