Skip to content

Commit

Permalink
test: 3.8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
guacs committed Jan 13, 2024
1 parent 88e0b92 commit 7c7cc11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_factory_configuration.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Any
from typing import Any, Type

from typing_extensions import TypeGuard

Expand All @@ -13,7 +13,7 @@ class CustomBaseFactory(BaseFactory[T]):
__set_as_default_factory_for_type__ = True

@classmethod
def is_supported_type(cls, value: Any) -> TypeGuard[type[T]]:
def is_supported_type(cls, value: Any) -> TypeGuard[Type[T]]:
# Set this as false since this factory will be injected into the
# list of base factories, but this obviously shouldn't be ran
# for any of the types.
Expand Down

0 comments on commit 7c7cc11

Please sign in to comment.