summaryrefslogtreecommitdiff
path: root/tests/remap/fail/prolog/remap.py
blob: 7d1a8369d2bea53c9bbc1beb6a3c7085280f9144 (plain)
1
2
3
4
5
6
7
8
9
import emccanon
import interpreter

def failingprolog(self,*args, **words):
    emccanon.MESSAGE("failingprolog returning INTERP_ERROR")
    self.set_errormsg("A failed Python prolog returning INTERP_ERROR")
    return interpreter.INTERP_ERROR