-
Notifications
You must be signed in to change notification settings - Fork 65
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
Update pytest coverage for CB trace norm #234
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #234 +/- ##
========================================
+ Coverage 96.4% 96.5% +0.1%
========================================
Files 146 146
Lines 2956 2956
Branches 728 728
========================================
+ Hits 2851 2854 +3
+ Misses 61 59 -2
+ Partials 44 43 -1 ☔ View full report in Codecov by Sentry. |
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.
A few minor things, but overall LGTM! I like how the tests are starting to become simpler and are also more specific with the message matching on error output. Nice work!
|
||
|
||
def test_cb_trace_norm_unitaries_channel(): | ||
"""The diamond norm of phi = id- U id U* is the diameter of the smallest circle that contains the eigenvalues of U.""" | ||
"""The diamond norm of phi = id- U id U* is the diameter of the smallest circle |
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.
I wonder if the linter is over-aggressively making new lines here when it shouldn't be?
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.
Probably due to us having different configuration files with incompatible line lengths.
* add missing test * undo docstring change: linter
Description
Fixes #233
Todos
Notable points that this PR has either accomplished or will accomplish.
Questions
Status