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

Complete and invalid code replies #51

Open
AntoinePrv opened this issue Sep 21, 2022 · 0 comments
Open

Complete and invalid code replies #51

AntoinePrv opened this issue Sep 21, 2022 · 0 comments
Labels
type/feature 🚀 New feature or request

Comments

@AntoinePrv
Copy link
Member

AntoinePrv commented Sep 21, 2022

jupyter_kernel_test activation:

incomplete_code_samples = ["1 +", "sin(3/", "function ave = average(x)"]
invalid_code_samples = ["invalid", ") + 1"]
def test_stderr(self):
    self.flush_channels()
    reply, output_msgs = self.execute_helper(code=") + 2")
    self.assertEqual(output_msgs[0]["msg_type"], "stream")
    self.assertEqual(output_msgs[0]["content"]["name"], "stderr")
@AntoinePrv AntoinePrv added the type/feature 🚀 New feature or request label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature 🚀 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant