mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-10-11 14:26:37 +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)
|
animal7: Animal = provider7(1, 2, 3, b='1', c=2, e=0.0)
|
||||||
|
|
||||||
# Test 8: to check the explicit typing
|
# Test 8: to check the explicit typing
|
||||||
provider8: types.Factory[Animal] = lambda: None
|
provider8: types.Factory[Animal] = providers.Factory(Cat)
|
||||||
animal8: int = provider8()
|
animal8: Animal = provider8()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user