Skip to content

Entries published on December 18, 2023

1 entry published on this date. See also: all entries published in December 2023, full archive.

Running async tests in Python

This is part of a series of posts I’m doing as a sort of Python/Django Advent calendar, offering a small tip or piece of information each day from the first Sunday of Advent through Christmas Eve. See the first post for an introduction.

A-sync-ing feeling

Async Python can be useful in the right situation, but one of the tricky things about it is that it requires a bit more effort to run than normal synchronous Python, because you need an async event loop that can run and manage all your async functions.

This is especially something you’ll notice when testing, since …

Entry published December 18, 2023. Read full entry.