Python 2.7 compatibility fix

unittest._TextTestResult does not exist in Python 2.7, but unittest.TextTestResult does.
1.0.11