mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-09 07:14:48 +08:00
added test to override fixture return value with annotation
This commit is contained in:
@@ -64,6 +64,11 @@ def lala(my_fixture):
|
|||||||
def lala(my_fixture):
|
def lala(my_fixture):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
# overriding types of a fixture should be possible
|
||||||
|
def test_x(my_yield_fixture: str):
|
||||||
|
#? str()
|
||||||
|
my_yield_fixture
|
||||||
|
|
||||||
# -----------------
|
# -----------------
|
||||||
# completion
|
# completion
|
||||||
# -----------------
|
# -----------------
|
||||||
|
|||||||
Reference in New Issue
Block a user