Skip to content
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 python mock's call #4274

Merged
merged 3 commits into from
Apr 3, 2020
Merged

Fix python mock's call #4274

merged 3 commits into from
Apr 3, 2020

Conversation

mikhailshilkov
Copy link
Member

I'm not on top of asynchronicity in Python but judging by the RegisterResource implementation, the ensure_future seem to be unnecessary. Also, removing them fixes #4101.

Please check that it actually makes sense.

@lukehoban lukehoban requested a review from pgavlin April 2, 2020 16:00
@mikhailshilkov mikhailshilkov merged commit 0bce094 into master Apr 3, 2020
@pulumi-bot pulumi-bot deleted the mikhailshilkov/mock-py-call branch April 3, 2020 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Python call mocks fail with "There is no current event loop in thread"
2 participants