I have attempted to repeat this on a non-testing Debian system using Python version 3.11.6 (which is what trixie reports as current) and the tests all pass fine.
Is there some procedure I can use to repeat this? Is this "just a Debian thing" and there's nothing I can do directly in txtorcon?