Fuzzed up an error catch in the tests to play nice 2to3.