def testShowMessageWithError(self):
        def f(prompt):
            raise Exception("Doesn't work.")

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

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