Mercurial > hg > octave-nkf
diff scripts/path/savepath.m @ 20725:76f67400649e
Use '-local' option to warning to simplify BIST tests.
* dos.m, unix.m, savepath.m, kurtosis.m, skewness.m:
Use '-local' option to warning instead of unwind/protect block.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 25 Sep 2015 21:00:29 -0700 |
parents | 9fc020886ae9 |
children |
line wrap: on
line diff
--- a/scripts/path/savepath.m +++ b/scripts/path/savepath.m @@ -202,7 +202,7 @@ %! assert (fid >= 0); %! fclose (fid); %! ## Save path into local .octaverc file -%! warning ("off", "Octave:savepath-local"); +%! warning ("off", "Octave:savepath-local", "local"); %! status = savepath (); %! assert (status == 0); %! ## Compare old and new versions