added test to override fixture return value with annotation
This commit is contained in:
1 parent
fe50352f9c
commit
8808b5b64b
1 file changed
+5
@@ -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