Unittest features for Python 2.7 backported to Python 2.3+
