figure self tests - error checks in unwind_protect test blocks?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

figure self tests - error checks in unwind_protect test blocks?

NJank
trying to write a few self tests to verify input handling for an axis property function. while the unwind_protect within a %!test block ensures the figure gets closed, I don't think it's possible to use an %!error check within one, correct? wanted to check input handling with a few !%errors, but can't seem to do it without creating a figure that hangs around afterward. I couldn't find any functions that had such an example

Nick J.

_______________________________________________
Help-octave mailing list
[hidden email]
https://lists.gnu.org/mailman/listinfo/help-octave