mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-10-10 22:06:43 +03:00
Fix typing test issue
This commit is contained in:
parent
3288fde6b0
commit
0f525dbac0
|
@ -53,5 +53,5 @@ provider7.override(providers.Factory(Cat))
|
|||
animal7: Animal = provider7(1, 2, 3, b='1', c=2, e=0.0)
|
||||
|
||||
# Test 8: to check the explicit typing
|
||||
provider8: types.Factory[Animal] = lambda: None
|
||||
animal8: int = provider8()
|
||||
provider8: types.Factory[Animal] = providers.Factory(Cat)
|
||||
animal8: Animal = provider8()
|
||||
|
|
Loading…
Reference in New Issue
Block a user