Skip to content

Commit

Permalink
fix(fw): warnings.warn in get_hive_flags_from_env (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz authored and spencer-tb committed May 17, 2024
1 parent 2f06941 commit 8df3a61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/pytest_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 8df3a61

Please sign in to comment.