示例#1
0
    def testShowMessageWithError(self):
        def f(prompt):
            raise Exception("Doesn't work.")

        rinterface.set_showmessage(f)
示例#2
0
 def testShowMessageWithError(self):
     def f(prompt):
         raise Exception("Doesn't work.")
     rinterface.set_showmessage(f)
示例#3
0
    def testSetShowMessage(self):
        def f(message):
            return "foo"

        rinterface.set_showmessage(f)
示例#4
0
 def testSetShowMessage(self):
     def f(message):
         return "foo"
     rinterface.set_showmessage(f)