[tor-commits] [bridgedb/master] Fix CI Python2.6 fail due to twisted.trial API changes; no TestCase.skipTest().

isis at torproject.org isis at torproject.org
Sun Jan 12 06:06:33 UTC 2014


commit 5f0aa8ab659d066ea3356f080888a70702a0674c
Author: Isis Lovecruft <isis at torproject.org>
Date:   Tue Nov 19 13:28:22 2013 +0000

    Fix CI Python2.6 fail due to twisted.trial API changes; no TestCase.skipTest().
---
 lib/bridgedb/test/test_EmailServer.py |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/bridgedb/test/test_EmailServer.py b/lib/bridgedb/test/test_EmailServer.py
index 1e77ad8..4c6bcd7 100644
--- a/lib/bridgedb/test/test_EmailServer.py
+++ b/lib/bridgedb/test/test_EmailServer.py
@@ -78,7 +78,9 @@ class EmailGnuPGTest(unittest.TestCase):
 
         XXX: See #5463.
         """
-        self.skipTest("See #5463 for why this test fails when it should pass")
+        raise unittest.SkipTest(
+            "See #5463 for why this test fails when it should pass")
+
         self.doCopyFile(self.gpgFile, self.gpgMoved, "GnuPG test keyfile")
         ctx = EmailServer.getGPGContext(self.config)
         self.assertIsInstance(ctx, EmailServer.gpgme.Context)





More information about the tor-commits mailing list