Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
systemsmanagement:saltstack:bundle:next:SLE11
saltbundlepy-lxml
skip_failing_test_s390x.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File skip_failing_test_s390x.patch of Package saltbundlepy-lxml
Index: lxml-4.9.2/src/lxml/tests/test_etree.py =================================================================== --- lxml-4.9.2.orig/src/lxml/tests/test_etree.py +++ lxml-4.9.2/src/lxml/tests/test_etree.py @@ -10,7 +10,7 @@ test_elementtree from __future__ import absolute_import from collections import OrderedDict -import os.path +import os import unittest import copy import sys @@ -47,6 +47,9 @@ except NameError: # Python 3 _unicode = str +skip_on_s390x = unittest.skipIf(hasattr(os, 'uname') and os.uname().machine == 's390x', + 'skipped on s390x') + class ETreeOnlyTestCase(HelperTestCase): """Tests only for etree, not ElementTree""" @@ -5275,6 +5278,7 @@ class ETreeWriteTestCase(HelperTestCase) self.assertEqual(_bytes('<a>'+'<b/>'*200+'</a>'), data) + @skip_on_s390x def test_write_file_gzip_parse(self): tree = self.parse(_bytes('<a>'+'<b/>'*200+'</a>')) with tempfile.NamedTemporaryFile() as f:
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor