Eliminate test warning in Python 3.4