Skip to content

erp5_kernel: render errors of wrong environment.define and undefine calls in Jupyter

Douglas requested to merge Camata/erp5:improve_error_define_undefine into master

@Tyagov, please review.

Errors currently captured:

  • environment.define call 1st argument is not a function and/or 2nd argument is not a string
  • environment.define call argument is not a string
  • environment.undefine trying to remove a function that is not in the environment

Proper tests were added.

Merge request reports