Martin K. Scherer
Martin K. Scherer
before: ``` "outputs": [ { "output_type": "stream", "stream": "stdout", "text": [ "Populating the interactive namespace from numpy and matplotlib\n" ] } ], ``` after: ``` "outputs": [] ```
maybe it works out of the box, but I have not tested yet: http://www.mkyong.com/regular-expressions/regular-expression-matches-multiple-line-example-java/
My regex matches, if I use Java, the same regex (prefixed with regex:) leads to "bfg aborting : no refs to update". Tried both with escaped backslashes and without. ```...
works well at last. Thank you
you do not need to escape backslashes and I found one typo. Best.
Unfortunately, I performed a wrong test, when closing this. Multi line regex does not seem to work: Testing example: https://github.com/marscher/bfg_multiline_regex
A better approach is to monkey patch httpconnection of tornado, see https://stackoverflow.com/questions/70181005/how-to-increase-http-header-size-in-jupyter
Sorry something got truncated during copy paste, here the correct exception message: ``` ValueError: Given file '/tmp/tmpoxfg1o7x' did not contain the right type: desired() vs. actual() ```
Note that it also works like expected if the test_cls is defined within a function instead of a method...
> jsonpickle can only serialize instances of classes that can be imported by python's module importer. jsonpickle's unittests deal with this issue by keeping its test classes in a separate...