You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all,
I don't have enough knowledge about test code in Jupyterlab. I am trying to developed test code for my custom kernel. I am getting bellow error when I ran test code using python3.
Error :
File ".../jupyter_kernel_test/jupyter_kernel_test/msgspec_v5.py", line 121, in validate_message
raise ValidationError("Parent header does not match expected")
jsonschema.exceptions.ValidationError: Parent header does not match expected.
Hi all,
I don't have enough knowledge about test code in Jupyterlab. I am trying to developed test code for my custom kernel. I am getting bellow error when I ran test code using python3.
Error :
File ".../jupyter_kernel_test/jupyter_kernel_test/msgspec_v5.py", line 121, in validate_message
raise ValidationError("Parent header does not match expected")
jsonschema.exceptions.ValidationError: Parent header does not match expected.
Test Code :
def test_mykernel(self):
reply, output_msgs = self.execute_helper(code='version()')
self.assertEqual(output_msgs[0]['msg_type'], 'execute_result')
self.assertEqual(output_msgs[0]['content']['name'], 'stdout')
self.assertEqual(output_msgs[0]['content']['text'], 'v0.4.7')
Jupyterlab result :
The text was updated successfully, but these errors were encountered: