support tests under python2.6

Running tests under python2.6 ended up being a fairly simple change.
While python2.6 support is not a stated goal, we don't currently use anything that precludes usage under python2.6. Shouldn't hurt to get the tests running under 2.6.