From 8808b5b64b06260aa9b98231ea0b52408114f8b5 Mon Sep 17 00:00:00 2001 From: boerde Date: Sun, 29 Aug 2021 00:38:34 +0200 Subject: [PATCH] added test to override fixture return value with annotation --- test/completion/pytest.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/completion/pytest.py b/test/completion/pytest.py index f49fd921..3c648c6c 100644 --- a/test/completion/pytest.py +++ b/test/completion/pytest.py @@ -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 # -----------------