Py2.6 support for Unittesting