Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kingcrimsontianyu committed Nov 12, 2024
1 parent 2a96d74 commit 9e3ef17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/kvikio/tests/test_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ def test_compat_mode():

before = kvikio.defaults.compat_mode()
with kvikio.defaults.set_compat_mode(kvikio.CompatMode.ON):
assert kvikio.defaults.compat_mode()
assert kvikio.defaults.compat_mode() == kvikio.CompatMode.ON
kvikio.defaults.compat_mode_reset(kvikio.CompatMode.OFF)
assert not kvikio.defaults.compat_mode()
assert kvikio.defaults.compat_mode() == kvikio.CompatMode.OFF
assert before == kvikio.defaults.compat_mode()


Expand Down

0 comments on commit 9e3ef17

Please sign in to comment.