You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'?
The text was updated successfully, but these errors were encountered:
the problem lies in a discrepancy by a method used at the producer or report output level. Here is a link to the package in which I correct the issue, in the feature-relevant branch.
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'?
The text was updated successfully, but these errors were encountered: