-
Notifications
You must be signed in to change notification settings - Fork 14
Description
I was using this to generate reports for pyunit testing and I found a common error. It has been reported on stackoverflow on this link: https://stackoverflow.com/questions/71858651/attributeerror-htmltestresult-object-has-no-attribute-count-relevant-tb-lev.
But there has been no help. I found a old codebase (https://svn.python.org/projects/python/tags/r312/Lib/unittest.py) for this and found that the method '_count_relevant_tb_levels' is missing from this codebase. I tried adding it manually to my local installation of the package and it works now.
Please check this and verify to revise the package.
The error I am experiencing is: AttributeError: 'HtmlTestResult' object has no attribute '_count_relevant_tb_levels'. Did you mean: '_is_relevant_tb_level'?