adjust except to be python3 compatible

Just a minimal change to make the tests run again nicely on travis for py 3, too