Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Test and fix support for cancellation in Linearizer #3572

Merged
merged 2 commits into from
Jul 20, 2018

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jul 20, 2018

(I think this might be an important omission in #3571)

yield d2
self.fail("Expected d2 to raise CancelledError")
except CancelledError:
pass
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FTR assertRaises is a thing

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know, but it's not that convenient when it has to be combined with a yield.

@richvdh richvdh merged commit ff48ab8 into develop Jul 20, 2018
@richvdh richvdh deleted the rav/linearizer_cancellation branch July 26, 2018 11:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants