tests: Unbreak Python 2.7 testing.

A test is broken but nobody cares.