Skip to content

Commit

Permalink
chore: keep compatible with 3.9.
Browse files Browse the repository at this point in the history
  • Loading branch information
2e0byo committed Feb 3, 2024
1 parent 859c1cf commit 0b017fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from mopidy_tidal.context import set_config


def _make_mock(mock: Mock | None = None, **kwargs) -> Mock:
def _make_mock(mock: Optional[Mock] = None, **kwargs) -> Mock:
"""Make a mock with the desired properties.
This exists to work around name collisions in `Mock(**kwargs)`, which
Expand Down

0 comments on commit 0b017fc

Please sign in to comment.