Skip to content

Commit

Permalink
Fix type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
cjw296 committed Mar 16, 2023
1 parent 3f5500a commit b302ef7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions testfixtures/datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ def __new__(cls, *args, **kw) -> float:
def mock_time(
delta: float = None,
delta_type: str = 'seconds',
) -> Type[MockDateTime]:
) -> Type[MockTime]:
...


Expand All @@ -785,7 +785,7 @@ def mock_time(
microsecond: int = ...,
delta: float = None,
delta_type: str = 'seconds',
) -> Type[MockDateTime]:
) -> Type[MockTime]:
...


Expand All @@ -794,7 +794,7 @@ def mock_time(
default: datetime,
delta: float = None,
delta_type: str = 'seconds',
) -> Type[MockDateTime]:
) -> Type[MockTime]:
...


Expand All @@ -803,7 +803,7 @@ def mock_time(
default: None, # explicit None positional
delta: float = None,
delta_type: str = 'seconds',
) -> Type[MockDateTime]:
) -> Type[MockTime]:
...


Expand Down

0 comments on commit b302ef7

Please sign in to comment.