From ed81bf67976a4e840427d944106f92bf26bb9e36 Mon Sep 17 00:00:00 2001 From: danceratopz Date: Fri, 17 May 2024 17:24:31 +0300 Subject: [PATCH] fix(fw): warnings.warn in get_hive_flags_from_env --- 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