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

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

    enable_errorhook(not no_excepthook)