Did I find the right examples for you? yes no

All Samples(39)  |  Call(39)  |  Derive(0)  |  Import(0)

src/x/i/xipy-HEAD/xipy/external/decotest.py   xipy(Download)
                    raise
                except:
                    result.addError(self, self._exc_info())
                    return
                # Test execution
                    break
                except self.failureException:
                    result.addFailure(self, self._exc_info())
                except KeyboardInterrupt:
                    raise
                except:
                    result.addError(self, self._exc_info())
                    raise
                except:
                    result.addError(self, self._exc_info())
                    ok = False
                if ok: result.addSuccess(self)

src/w/m/WMCore-HEAD/test/python/WMCore_t/WMLogging_t.py   WMCore(Download)
    def tearDown(self):
        if self._exc_info()[0] == None:
            # This test has passed, clean up after it
            testname = self.id().split('.')[-1]
            self.server.deleteDatabase(self.dbname)

src/w/m/WMCore-HEAD/test/python/WMCore_t/Services_t/Service_t.py   WMCore(Download)
        self.testInit.delWorkDir()
 
        if self._exc_info()[0] == None:
            self.logger.info('test "%s" passed' % testname)
        else:

src/t/e/testrunner-HEAD/pytests/xdcr/xdcrbasetests.py   testrunner(Download)
    def tearDown(self):
        try:
            test_failed = (hasattr(self, '_resultForDoCleanups') and len(self._resultForDoCleanups.failures or self._resultForDoCleanups.errors)) \
                    or (hasattr(self, '_exc_info') and self._exc_info()[1] is not None)
            self._end_replication_flag = 1

src/t/e/testrunner-HEAD/pytests/swaprebalance.py   testrunner(Download)
    def common_tearDown(self):
        self.cluster_helper.shutdown()
        test_failed = (hasattr(self, '_resultForDoCleanups') and len(self._resultForDoCleanups.failures or self._resultForDoCleanups.errors)) \
                   or (hasattr(self, '_exc_info') and self._exc_info()[1] is not None)
        if test_failed and TestInputSingleton.input.param("stop-on-failure", False)\

src/t/e/testrunner-HEAD/pytests/basetestcase.py   testrunner(Download)
                    return
                test_failed = (hasattr(self, '_resultForDoCleanups') and len(self._resultForDoCleanups.failures or self._resultForDoCleanups.errors)) \
                    or (hasattr(self, '_exc_info') and self._exc_info()[1] is not None)
                if test_failed and TestInputSingleton.input.param("stop-on-failure", False)\
                        or self.input.param("skip_cleanup", False):

src/p/y/Pymol-script-repo-HEAD/modules/pdb2pqr/contrib/numpy-1.1.0/numpy/testing/parametric.py   Pymol-script-repo(Download)
            ok = True
        except self.failureException:
            result.addFailure(self, self._exc_info())
        except KeyboardInterrupt:
            raise
        except:
            result.addError(self, self._exc_info())
                raise
            except:
                result.addError(self, self._exc_info())
                return
 
                raise
            except:
                result.addError(self, self._exc_info())
                ok = False
            if ok: result.addSuccess(self)
        except:
            result.testsRun += 1
            result.addError(self, self._exc_info())
            return
 

src/d/i/digsby-HEAD/digsby/src/tests/digsby_unittest.py   digsby(Download)
            self.assert_(val, msg)
        except:
            self.result.addFailure(self, self._exc_info())
 
    def expectEqual(self, first, second, msg=None):
        try:
            self.failUnlessEqual(first, second, msg)
        except:
            self.result.addFailure(self, self._exc_info())

src/i/p/ipython-py3k-HEAD/IPython/testing/_paramtestpy2.py   ipython-py3k(Download)
                    raise
                except:
                    result.addError(self, self._exc_info())
                    return
                # Test execution
                    break
                except self.failureException:
                    result.addFailure(self, self._exc_info())
                except KeyboardInterrupt:
                    raise
                except:
                    result.addError(self, self._exc_info())
                    raise
                except:
                    result.addError(self, self._exc_info())
                    ok = False
                if ok: result.addSuccess(self)

src/p/y/pyraf-2.1.6/required_pkgs/stsci.tools/lib/stsci/tools/testutil.py   pyraf(Download)
                raise
            except:
                result.addError(self, self._exc_info())
                self.log('E')
                return
                self.log("P")
            except self.failureException:
                result.addFailure(self, self._exc_info())
                self.log("F")
            except KeyboardInterrupt:
                raise
            except:
                result.addError(self, self._exc_info())
                raise
            except:
                result.addError(self, self._exc_info())
                ok = False
            if ok: result.addSuccess(self)
 
      if status == 'E':
          f.write("%s:: tra_Trace=%s\n"%(name,str(self._exc_info())))
 
      f.write("END\n")

  1 | 2  Next