我在理解如何更改单元测试报告时遇到了一些困难,类似于:
======================================================================
FAIL: test_equal (__main__.InequalityTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_notequal.py", line 7, in test_equal
self.assertNotEqual(1, 3-2, "My Custom Message")
AssertionError: 1 == 1
类似于以下的报告:
Line 7: My Custom Message
我如何解析这些报告?