Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
BDonnot committed Dec 15, 2023
1 parent e867bc1 commit bfe4798
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Change Log
- [FIXED] the "BaseBackendTest" class did not correctly detect divergence in most cases (which lead
to weird bugs in failing tests)
- [ADDED] A type of environment that does not perform the "emulation of the protections"
for some part of the grid (`MaskedEnvironment`)
for some part of the grid (`MaskedEnvironment`) see https://github.com/rte-france/Grid2Op/issues/571
- [IMPROVED] the CI speed: by not testing every possible numpy version but only most ancient and most recent
- [IMPROVED] Runner now test grid2op version 1.9.6 and 1.9.7
- [IMPROVED] refacto `gridobj_cls._clear_class_attribute` and `gridobj_cls._clear_grid_dependant_class_attributes`
Expand Down
2 changes: 1 addition & 1 deletion grid2op/tests/test_Environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def _check_env_param(self, env, param):
# type of power flow to play
# if True, then it will not disconnect lines above their thermal limits
assert env._no_overflow_disconnection == param.NO_OVERFLOW_DISCONNECTION
assert env._hard_overflow_threshold == param.HARD_OVERFLOW_THRESHOLD
assert (env._hard_overflow_threshold == param.HARD_OVERFLOW_THRESHOLD).all()

# store actions "cooldown"
assert (
Expand Down

0 comments on commit bfe4798

Please sign in to comment.