Skip to content

Commit

Permalink
WidgetLearnerTestMixin: improve test
Browse files Browse the repository at this point in the history
The test passes in case the widget does not output the model, eventhough the model could not have been pickled.
  • Loading branch information
VesnaT committed Jun 9, 2021
1 parent c8b4b5c commit 0c0bdbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Orange/widgets/tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ def test_output_model_picklable(self):
self.widget.apply_button.button.click()
self.wait_until_stop_blocking()
model = self.get_output(self.widget.Outputs.model)
self.assertIsNotNone(model)
pickle.dumps(model)

@staticmethod
Expand Down

0 comments on commit 0c0bdbf

Please sign in to comment.