[PATCH 03/15] test/py: Allow tests to be marked single-threaded only