diff --git a/object_mother_pattern/mothers/base_mother.py b/object_mother_pattern/mothers/base_mother.py index f4031df..26dcfe0 100644 --- a/object_mother_pattern/mothers/base_mother.py +++ b/object_mother_pattern/mothers/base_mother.py @@ -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())