Skip to content

Commit

Permalink
coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
commonism committed Nov 16, 2024
1 parent efe1411 commit 6f0b765
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydantic_extra_types/epoch.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def _validate(cls, __input_value: Any, _: Any) -> datetime.datetime:
return EPOCH + datetime.timedelta(seconds=__input_value)

@classmethod
def _f(cls, value: Any, serializer: Callable[[Any], Any]) -> Any:
pass
def _f(cls, value: Any, serializer: Callable[[Any], Any]) -> Any: # pragma: no cover
raise NotImplementedError(cls)


class Number(_Base):
Expand Down

0 comments on commit 6f0b765

Please sign in to comment.