Change skipif expression to str for older pytest