Exemplo n.º 1
0
 def test_enable(self):
     enable_errorhook(True)
     enable_errorhook(False)
     try:
         raise Exception
     except Exception:
         errorhook()
Exemplo n.º 2
0
 def test_enable(self):
     enable_errorhook(True)
     enable_errorhook(False)
     try:
         raise Exception
     except Exception:
         errorhook()
Exemplo n.º 3
0
def _init_gtk_debug(no_excepthook):
    from quodlibet.errorreport import enable_errorhook

    enable_errorhook(not no_excepthook)
Exemplo n.º 4
0
def _init_gtk_debug(no_excepthook):
    from quodlibet.errorreport import enable_errorhook

    enable_errorhook(not no_excepthook)