change is to == to fix pypy