124 Star 0 Fork 10

src-openEuler/future

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
future-skip_tests_with_connection_errors.patch 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
starlet_dx 提交于 2024-10-14 11:14 . Update to 1.0.0
##Skipping tests due to connection failures on Fedora build-system
##See https://github.com/PythonCharmers/python-future/issues/165
--- a/tests/test_future/test_standard_library.orig.py 2014-11-21 12:52:03.000000000 +0100
+++ b/tests/test_future/test_standard_library.py 2015-09-02 11:37:36.808826777 +0200
@@ -333,6 +333,7 @@
# pprint(r.read().decode('utf-8'))
self.assertTrue(True)
+ @unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 'Temporary failure in name resolution'))...")
def test_moves_urllib_request_http(self):
"""
This site (python-future.org) uses plain http (as of 2014-09-23).
@@ -345,6 +345,7 @@
data = r.read()
self.assertTrue(b'</html>' in data)
+ @unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 'Temporary failure in name resolution'))...")
def test_urllib_request_http(self):
"""
This site (python-future.org) uses plain http (as of 2014-09-23).
--- a/tests/test_future/test_requests.orig.py 2014-11-21 12:52:03.000000000 +0100
+++ b/tests/test_future/test_requests.py 2015-09-02 11:39:01.509378296 +0200
@@ -57,6 +57,7 @@
This class tests whether the requests module conflicts with the
standard library import hooks, as in issue #19.
"""
+ @unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 'Temporary failure in name resolution'))...")
def test_remove_hooks_then_requests(self):
code = """
from future import standard_library
@@ -79,6 +80,7 @@
self.assertTrue(True)
+ @unittest.skip("ConnectionError: ('Connection aborted.', gaierror(-3, 'Temporary failure in name resolution'))...")
def test_requests_cm(self):
"""
Tests whether requests can be used importing standard_library modules
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/future.git
git@gitee.com:src-openeuler/future.git
src-openeuler
future
future
master

搜索帮助