tests: constant-fold a `pycompat.ispy3` in testlib/badserverext.py

10 jobs for topic/default/py-cleanups-1 in 21 minutes and 6 seconds (queued for 3 seconds)