Minor fix so tests may run on Python 3.