Skip to content

Commit

Permalink
Update bool comparisons
Browse files Browse the repository at this point in the history
  • Loading branch information
gerlero authored Mar 21, 2024
1 parent 26e978d commit d6dca42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_dictionaries.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def test_parse() -> None:
assert _parse("1") == 1
assert _parse("1.0") == 1.0
assert _parse("1.0e-3") == 1.0e-3
assert _parse("yes") == True
assert _parse("no") == False
assert _parse("yes") is True
assert _parse("no") is False
assert _parse("uniform 1") == 1
assert _parse("uniform 1.0") == 1.0
assert _parse("uniform 1.0e-3") == 1.0e-3
Expand Down

0 comments on commit d6dca42

Please sign in to comment.