diff @py/py.m @ 343:fe6b9e618c98

Add %!xtests for known failures due to bugs in Octave * @py/py.m, @pyobject/pyobject.m, @pyobject/subsasgn.m, @pyobject/subsref.m: Add %!xtests for known failures due to bugs in Octave.
author Mike Miller <mtmiller@octave.org>
date Tue, 16 Aug 2016 13:54:25 -0700
parents 5782d7932529
children 087e7bc3697f
line wrap: on
line diff
--- a/@py/py.m	Tue Aug 16 12:57:07 2016 -0700
+++ b/@py/py.m	Tue Aug 16 13:54:25 2016 -0700
@@ -52,3 +52,8 @@
 %! else
 %!   assert (isobject (py.long (2^100)))
 %! endif
+
+## Cannot use '@' to make a handle to a Python function
+%!xtest
+%! fn = @py.math.abs;
+%! assert (fn (-3), 3)