New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stix21master #275
Stix21master #275
Conversation
The errors seem to be the same in every case. It has to do with checking error messages, e.g.
The test error is always:
I think the problem is that the code I think this may have only surfaced now because of a recent change to pytest. There is a changelog entry for 5.0.0 which mentions this [2]. This apparently came about from a github issue [3]. Looks to have been intentional, to keep people from getting confused about what the pytest.raises() contextmanager produces: if it's not the actual exception, its str() shouldn't make people think it's the actual exception. The "<ExceptionInfo ...>" format makes it clear that what you have is an ExceptionInfo wrapper. To fix this, I think we need to change all instances of What do you think? |
I'm fine with removing those string comparison checks. |
Codecov Report
@@ Coverage Diff @@
## stix2.1 #275 +/- ##
===========================================
+ Coverage 98.64% 98.66% +0.01%
===========================================
Files 120 122 +2
Lines 12921 13060 +139
===========================================
+ Hits 12746 12885 +139
Misses 175 175
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@khdesai has removed the checks for the tests. The rest of the changes look good.
No description provided.