Use == rather than 'is' for pypy