Skip to content

Commit

Permalink
Fix accidental ruff simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsbuwen committed Aug 18, 2023
1 parent c2725cc commit 20def61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def test_object_equality(server, ws):
assert first == second
assert first != third
assert second != third
assert first != 1
assert not (first == 1) # noqa: SIM201 # this tests __eq__ and the next line tests __ne__
assert first != 1


Expand Down
2 changes: 1 addition & 1 deletion tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def test_remote_object(ws: Workspace) -> None:

assert lib == lib # noqa: PLR0124
assert lib != libs[1]
assert lib != 1
assert not (lib == 1) # noqa: SIM201 # this tests __eq__ and the next line tests __ne__
assert lib != 1


Expand Down

0 comments on commit 20def61

Please sign in to comment.