Skip to content

Commit 108d2a4

Browse files
committed
Cast test env variable to bool value
1 parent 15ed961 commit 108d2a4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dpnp/tests/config.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import os
22

3-
all_int_types = int(os.getenv("DPNP_TEST_ALL_INT_TYPES", 0))
4-
float16_types = int(os.getenv("DPNP_TEST_FLOAT_16", 0))
5-
complex_types = int(os.getenv("DPNP_TEST_COMPLEX_TYPES", 0))
6-
bool_types = int(os.getenv("DPNP_TEST_BOOL_TYPES", 0))
3+
all_int_types = bool(os.getenv("DPNP_TEST_ALL_INT_TYPES", 0))
4+
float16_types = bool(os.getenv("DPNP_TEST_FLOAT_16", 0))
5+
complex_types = bool(os.getenv("DPNP_TEST_COMPLEX_TYPES", 0))
6+
bool_types = bool(os.getenv("DPNP_TEST_BOOL_TYPES", 0))

0 commit comments

Comments
 (0)