[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 5f0aa8ab659d066ea3356f080888a70702a0674c
Author: Isis Lovecruft <isis@xxxxxxxxxxxxxx>
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)



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits