fix crawling tests under twisted pre 11.0.0