[pytest] fix TestSuite.run wrapper (closes #280806) [applied]