Simon Willison’s Weblog

Subscribe

31st August 2024

TIL Using namedtuple for pytest parameterized tests — I'm writing some quite complex [pytest]() parameterized tests this morning, and I was finding it a little bit hard to read the test cases as the number of parameters grew.

This is a beat by Simon Willison, posted on 31st August 2024.

Monthly briefing

Sponsor me for $10/month and get a curated email digest of the month's most important LLM developments.

Pay me to send you less!

Sponsor & subscribe