Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 29, 2024
1 parent 60d61f3 commit a27ecce
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/test_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,9 @@ def test_register() -> None:
server = Server('', MagicMock())

@server.register('hello')
def world() -> None:
...
def world() -> None: ...

@server.register
def help() -> None:
...
def help() -> None: ...

assert set(server._methods) == {'hello', 'help'}

0 comments on commit a27ecce

Please sign in to comment.