conf: fix test to work with Python 3.3