-
Notifications
You must be signed in to change notification settings - Fork 96
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
Fixed ProxyObject.__del__
to use the new Disk IO API from #791
#802
Conversation
rerun tests |
@madsbk what exactly do you want to test? You want to ensure no exceptions are raised in the destructor, or do you want to verify that the exception is indeed raised? If it's the latter, during |
Codecov Report
@@ Coverage Diff @@
## branch-22.02 #802 +/- ##
===============================================
Coverage ? 89.83%
===============================================
Files ? 16
Lines ? 1997
Branches ? 0
===============================================
Hits ? 1794
Misses ? 203
Partials ? 0 Continue to review full report at Codecov.
|
This: It is not blocking this PR but it would be nice to have a regression test |
@madsbk we can add |
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.
LGTM @madsbk . It's up to you whether you want to add error::pytest.PytestUnraisableExceptionWarning
, or maybe even error::pytest.PytestWarning
. I think it wouldn't hurt for us to be more strict on pytest warnings.
Thanks @pentschev, let's merge this PR and then try a more strict warning policy in another PR. |
@gpucibot merge |
Anyone that knows how to make a
pytest
that tests exceptions in class destructors?