diff options
Diffstat (limited to 'dev-python/twisted-web/files/twisted-web-0.5.0-tests-2.2-compat-14782.patch')
-rw-r--r-- | dev-python/twisted-web/files/twisted-web-0.5.0-tests-2.2-compat-14782.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/twisted-web/files/twisted-web-0.5.0-tests-2.2-compat-14782.patch b/dev-python/twisted-web/files/twisted-web-0.5.0-tests-2.2-compat-14782.patch new file mode 100644 index 000000000000..4c19296e5f3b --- /dev/null +++ b/dev-python/twisted-web/files/twisted-web-0.5.0-tests-2.2-compat-14782.patch @@ -0,0 +1,39 @@ +Index: twisted/web/test/test_xmlrpc.py +=================================================================== +--- twisted/web/test/test_xmlrpc.py (revision 14781) ++++ twisted/web/test/test_xmlrpc.py (revision 14782) +@@ -88,9 +88,7 @@ + self.port = self.p.getHost().port + + def tearDown(self): +- self.p.stopListening() +- reactor.iterate() +- reactor.iterate() ++ return self.p.stopListening() + + def proxy(self): + return xmlrpc.Proxy("http://127.0.0.1:%d/" % self.port) +@@ -108,7 +106,7 @@ + d = self.proxy().callRemote(meth, *args) + d.addCallback(self.assertEquals, outp) + dl.append(d) +- return defer.DeferredList(dl) ++ return defer.DeferredList(dl, fireOnOneErrback=True) + + def testErrors(self): + for code, methodName in [(666, "fail"), (666, "deferFail"), +@@ -168,7 +166,7 @@ + d = self.proxy().callRemote("system.methodHelp", meth) + d.addCallback(self.assertEquals, expected) + dl.append(d) +- return defer.DeferredList(dl) ++ return defer.DeferredList(dl, fireOnOneErrback=True) + + def testMethodSignature(self): + inputOutputs = [ +@@ -182,4 +180,4 @@ + d = self.proxy().callRemote("system.methodSignature", meth) + d.addCallback(self.assertEquals, expected) + dl.append(d) +- return defer.DeferredList(dl) ++ return defer.DeferredList(dl, fireOnOneErrback=True) |