Fix python26 unit test error

Formats the code to fix a python2.6 build error.