libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [libcloud] branch trunk updated: Skip test which causes segfault on PyPy when running on PyPy.
Date Tue, 29 Sep 2020 20:07:08 GMT
This is an automated email from the ASF dual-hosted git repository.

tomaz pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/libcloud.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fe4f81b  Skip test which causes segfault on PyPy when running on PyPy.
fe4f81b is described below

commit fe4f81b5a31a8f470ff6ba5af7451cccfc423c2b
Author: Tomaz Muraus <tomaz@tomaz.me>
AuthorDate: Tue Sep 29 21:30:10 2020 +0200

    Skip test which causes segfault on PyPy when running on PyPy.
---
 libcloud/test/test_http.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libcloud/test/test_http.py b/libcloud/test/test_http.py
index e037b17..d63f0b2 100644
--- a/libcloud/test/test_http.py
+++ b/libcloud/test/test_http.py
@@ -17,6 +17,7 @@ import os
 import sys
 import os.path
 import random
+import platform
 import warnings
 import threading
 
@@ -100,6 +101,8 @@ class TestHttpLibSSLTests(unittest.TestCase):
         self.assertTrue(self.httplib_object.ca_cert is not None)
 
 
+@unittest.skipIf(platform.python_implementation() == "PyPy",
+                 "Skipping test under PyPy since it causes segfault")
 class HttpLayerTestCase(unittest.TestCase):
     @classmethod
     def setUpClass(cls):


Mime
View raw message