sphinx criterion fails on call to irrelevant function