Did I find the right examples for you? yes no

All Samples(105)  |  Call(104)  |  Derive(0)  |  Import(1)

        def registerResult(result):
    _results[result] = 1
        


src/b/l/blenderpython-HEAD/scripts/addons_extern/meshlint.py   blenderpython(Download)
            def run(self, test):
                "Run the given test case or test suite."
                result = self._makeResult()
                unittest.registerResult(result)
                result.failfast = self.failfast

src/m/e/meshlint-HEAD/meshlint.py   meshlint(Download)
            def run(self, test):
                "Run the given test case or test suite."
                result = self._makeResult()
                unittest.registerResult(result)
                result.failfast = self.failfast

src/r/a/rainbowrunners-HEAD/rainbowrunners/runner.py   rainbowrunners(Download)
    def run(self, test):
        result = self._makeResult()
        unittest.registerResult(result)
        result.failfast = self.failfast
        result.buffer = self.buffer

src/r/a/rainbowrunners-0.1/rainbowrunners/runner.py   rainbowrunners(Download)
    def run(self, test):
        result = self._makeResult()
        unittest.registerResult(result)
        result.failfast = self.failfast
        result.buffer = self.buffer

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/IronPython/27/Lib/unittest/test/test_break.py   main(Download)
    def testRegisterResult(self):
        result = unittest.TestResult()
        unittest.registerResult(result)
 
        for ref in unittest.signals._results:
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
        self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
    def testSecondInterrupt(self):
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
    def testTwoResults(self):
        unittest.installHandler()
 
        result = unittest.TestResult()
        unittest.registerResult(result)
        new_handler = signal.getsignal(signal.SIGINT)
 
        result2 = unittest.TestResult()
        unittest.registerResult(result2)

src/m/a/main-HEAD/External.LCA_RESTRICTED/Languages/CPython/27/Lib/unittest/test/test_break.py   main(Download)
    def testRegisterResult(self):
        result = unittest.TestResult()
        unittest.registerResult(result)
 
        for ref in unittest.signals._results:
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
        self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
    def testSecondInterrupt(self):
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
    def testTwoResults(self):
        unittest.installHandler()
 
        result = unittest.TestResult()
        unittest.registerResult(result)
        new_handler = signal.getsignal(signal.SIGINT)
 
        result2 = unittest.TestResult()
        unittest.registerResult(result2)

src/i/r/ironpython3-HEAD/Src/StdLib/Lib/unittest/test/test_break.py   ironpython3(Download)
    def testRegisterResult(self):
        result = unittest.TestResult()
        unittest.registerResult(result)
 
        for ref in unittest.signals._results:
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
        self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
        def test(result):
    def testTwoResults(self):
        unittest.installHandler()
 
        result = unittest.TestResult()
        unittest.registerResult(result)
        new_handler = signal.getsignal(signal.SIGINT)
 
        result2 = unittest.TestResult()
        unittest.registerResult(result2)

src/t/r/TrustRouter-HEAD/client/packaging/Windows/Python32/Lib/unittest/test/test_break.py   TrustRouter(Download)
    def testRegisterResult(self):
        result = unittest.TestResult()
        unittest.registerResult(result)
 
        for ref in unittest.signals._results:
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
        self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
    def testSecondInterrupt(self):
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
    def testTwoResults(self):
        unittest.installHandler()
 
        result = unittest.TestResult()
        unittest.registerResult(result)
        new_handler = signal.getsignal(signal.SIGINT)
 
        result2 = unittest.TestResult()
        unittest.registerResult(result2)

src/c/p/cpython-HEAD/Lib/unittest/test/test_break.py   cpython(Download)
    def testRegisterResult(self):
        result = unittest.TestResult()
        unittest.registerResult(result)
 
        for ref in unittest.signals._results:
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
        self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
        def test(result):
    def testTwoResults(self):
        unittest.installHandler()
 
        result = unittest.TestResult()
        unittest.registerResult(result)
        new_handler = signal.getsignal(signal.SIGINT)
 
        result2 = unittest.TestResult()
        unittest.registerResult(result2)

src/e/m/empythoned-HEAD/cpython/Lib/unittest/test/test_break.py   empythoned(Download)
    def testRegisterResult(self):
        result = unittest.TestResult()
        unittest.registerResult(result)
 
        for ref in unittest.signals._results:
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
        self.assertNotEqual(signal.getsignal(signal.SIGINT), default_handler)
    def testSecondInterrupt(self):
        result = unittest.TestResult()
        unittest.installHandler()
        unittest.registerResult(result)
 
    def testTwoResults(self):
        unittest.installHandler()
 
        result = unittest.TestResult()
        unittest.registerResult(result)
        new_handler = signal.getsignal(signal.SIGINT)
 
        result2 = unittest.TestResult()
        unittest.registerResult(result2)

  1 | 2  Next