The unittest module seems to have changed a lot in Python 2.7
I have a test case:
class DemoTest(unittest.TestCase): def test_foo(self): """Test foo""" pass
Console output:
Check foo ... ok
After upgrading to Python 2.7, the console output is now:
test_foo (testcase.demotest.DemoTest)
Check foo ... ok
The first line of the description is useless. I want to hide it, but I donβt know how to do it.
source share