This reverts commit 25e657bfc1. Turns out that this *is* a working unittest feature, which pytest should support, so undo the deprecation.
25e657bfc1