summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Haberler <git@mah.priv.at>2011-08-19 21:42:51 +0200
committerMichael Haberler <git@mah.priv.at>2011-10-28 08:26:12 +0200
commit4b84bace42e2570114b7254662c536d40837cbcf (patch)
tree0d0fc5c4d75125349cdf6dcdc7873a58cd4cc494
parentc80b016030fa195b3aa5b9dc2c794676857899f2 (diff)
downloadlinuxcnc-4b84bace42e2570114b7254662c536d40837cbcf.tar.gz
linuxcnc-4b84bace42e2570114b7254662c536d40837cbcf.zip
tests: add missing remap/fail/body-py/remap.py
-rw-r--r--tests/remap/fail/body-py/remap.py5
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