2min chapter

Test & Code cover image

What would you change about pytest?

Test & Code

CHAPTER

PyTest's Deprecation Warning Period

PyTest fixtures are way easier to use right now than they used to be when I first started using PyTest. The, the one thing around it though, that it's, I don't even know if this is fixable or changeable is like if I have a test with no arguments, I can just write If done name equals done domain and just call my tests in the file and run Python on it. I can't do that if there's fixtures because the parameters aren't filled in. Well, actually I think we deprecated return values from fixtures. So they always return done now.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode