From cb60a37695cf049bb0287beb1284fad8703684ec Mon Sep 17 00:00:00 2001 From: danceratopz Date: Fri, 17 May 2024 17:27:35 +0300 Subject: [PATCH] fix(fw): warnings.warn in get_hive_flags_from_env (#567) --- src/cli/pytest_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli/pytest_commands.py b/src/cli/pytest_commands.py index fdcd550084..34bb558d30 100644 --- a/src/cli/pytest_commands.py +++ b/src/cli/pytest_commands.py @@ -158,11 +158,11 @@ def get_hive_flags_from_env(): random_seed = os.getenv("HIVE_RANDOM_SEED") if random_seed is not None: # TODO: implement random seed - warnings.warning("HIVE_RANDOM_SEED is not yet supported.") + warnings.warn("HIVE_RANDOM_SEED is not yet supported.") log_level = os.getenv("HIVE_LOGLEVEL") if log_level is not None: # TODO add logging within simulators and implement log level via cli - warnings.warning("HIVE_LOG_LEVEL is not yet supported.") + warnings.warn("HIVE_LOG_LEVEL is not yet supported.") return pytest_args