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

Add tests to ensure KernelManager subclass methods are called #626

Merged
merged 1 commit into from
Mar 13, 2021

Conversation

kevin-bates
Copy link
Member

So that we can better ensure that pending changes don't side-effect KernelManager subclass implementations, this change adds tests that assert particular methods are called on subclasses that override those methods. Failures in these tests will likely indicate a breakage in the API contract.

Copy link
Member

@davidbrochart davidbrochart left a comment

Choose a reason for hiding this comment

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

That's great, thanks Kevin.

@kevin-bates kevin-bates merged commit 8d14e54 into jupyter:master Mar 13, 2021
@kevin-bates
Copy link
Member Author

Thanks for the review David. I'm going ahead with the merge since a) its just test code and b) it will help us assess the impact of changes - intentional or not.

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.

3 participants