Skip to content

Commit

Permalink
🐛 fix: remove invalid type NoneType
Browse files Browse the repository at this point in the history
  • Loading branch information
adriamontoto committed Dec 21, 2024
1 parent 95c1c3c commit 5184297
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions object_mother_pattern/mothers/base_mother.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ def invalid_type(cls, remove_types: Iterable[type[Any]] | None = None) -> Any:
if dict not in remove_types:
types.append(faker.pydict())

if type(None) not in remove_types:
types.append(None)

if datetime not in remove_types:
types.append(faker.date_time())

Expand Down

0 comments on commit 5184297

Please sign in to comment.