-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[FIX] owboxplot: Fix an error in widget cleanup during tests #6136
[FIX] owboxplot: Fix an error in widget cleanup during tests #6136
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #6136 +/- ##
=======================================
Coverage 86.48% 86.48%
=======================================
Files 315 315
Lines 67771 67771
=======================================
+ Hits 58610 58611 +1
+ Misses 9161 9160 -1 |
7cb448c
to
545418f
Compare
This looks bad. Do I understand correctly that some methods can be invoked when the widget is being destroyed and already has an empty Are there any other methods (that we use) in which we need to be careful? Is this limited to tests (which have no screen) or can it also happen to the user? |
bbb0e44
to
dc9b1fc
Compare
Tests are failing due to changes in pandas. I propose a temporary solution since I think it is a bug in pandas #6145 |
Yes.
I guess it can happen to the user also. |
2744dfb
to
ee8afe6
Compare
Change order of conditions in eventFilter to short-circuit access to widget members which can no longer exist (empty `self.__dict__`).
2744dfb
to
ee44ae0
Compare
I am fixing the oldest deps tests in a separate PR - no need to worry about that. |
Issue
Since biolab/orange-widget-base#204 was released,
Orange.widgets.tests.test_workflows
fails withDescription of changes
Change order of conditions in eventFilter to short-circuit access to widget members which can no longer exist (empty
self.__dict__
).Includes