mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-07 22:44:27 +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):
|
||||
pass
|
||||
|
||||
# overriding types of a fixture should be possible
|
||||
def test_x(my_yield_fixture: str):
|
||||
#? str()
|
||||
my_yield_fixture
|
||||
|
||||
# -----------------
|
||||
# completion
|
||||
# -----------------
|
||||
|
||||
Reference in New Issue
Block a user