You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I notice that pytest.fixture returns a FixtureFunction type but that type is only available in the _pytest package. Is it possible to make it public or is there already something I can use that's more specific that lets me type the factory better?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I like the pattern of test harnesses that can generate fixtures, i.e.
Which ends up being like
I notice that pytest.fixture returns a FixtureFunction type but that type is only available in the
_pytest
package. Is it possible to make it public or is there already something I can use that's more specific that lets me type the factory better?i.e. so I can do something like
Beta Was this translation helpful? Give feedback.
All reactions