diff options
author | Michael Haberler <git@mah.priv.at> | 2011-08-19 21:42:51 +0200 |
---|---|---|
committer | Michael Haberler <git@mah.priv.at> | 2011-10-28 08:26:12 +0200 |
commit | 4b84bace42e2570114b7254662c536d40837cbcf (patch) | |
tree | 0d0fc5c4d75125349cdf6dcdc7873a58cd4cc494 | |
parent | c80b016030fa195b3aa5b9dc2c794676857899f2 (diff) | |
download | linuxcnc-4b84bace42e2570114b7254662c536d40837cbcf.tar.gz linuxcnc-4b84bace42e2570114b7254662c536d40837cbcf.zip |
tests: add missing remap/fail/body-py/remap.py
-rw-r--r-- | tests/remap/fail/body-py/remap.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/remap/fail/body-py/remap.py b/tests/remap/fail/body-py/remap.py new file mode 100644 index 000000000..676fd6dad --- /dev/null +++ b/tests/remap/fail/body-py/remap.py @@ -0,0 +1,5 @@ +import interpreter + +def interp_error(userdata, **words): + interpreter.this.set_errormsg("A failed Python remap handler returning INTERP_ERROR") + return interpreter.INTERP_ERROR |