dev-python/mechanize-0.1.11 fails tests with Python 2.7 It tries to use private unittest._TextTestResult which has been renamed to unittest.runner._TextTestResult. * Testing of dev-python/mechanize-0.1.11 with Python 2.7... Traceback (most recent call last): File "test.py", line 66, in <module> import testprogram File "test-tools/testprogram.py", line 13, in <module> from unittest import defaultTestLoader, TextTestRunner, TestSuite, TestCase, \ ImportError: cannot import name _TextTestResult
Created attachment 214639 [details] mechanize-0.1.11:20091230-172825.log
I have committed that patch, which fixes problem with _TextTestResult, but 1 unittest fails due to different (better) exception message in Python 2.7.
Created attachment 214977 [details] mechanize-0.1.11:20100103-023125.log
Do newer versions of mechanize work on 2.7?
Fixed by upstream in dev-python/mechanize-0.2.2.