Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:GA
python3-pip
pip-bigendian.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pip-bigendian.patch of Package python3-pip
Index: pip-20.0.2/tests/unit/test_compat.py =================================================================== --- pip-20.0.2.orig/tests/unit/test_compat.py +++ pip-20.0.2/tests/unit/test_compat.py @@ -92,7 +92,7 @@ def test_str_to_display__decode_error(mo data = u'ab'.encode('utf-16') actual = str_to_display(data) - assert actual == u'\\xff\\xfea\x00b\x00', ( + assert actual == u'\\xfe\\xff\x00a\x00b', ( # Show the encoding for easier troubleshooting. 'encoding: {!r}'.format(locale.getpreferredencoding()) ) Index: pip-20.0.2/tests/unit/test_utils.py =================================================================== --- pip-20.0.2.orig/tests/unit/test_utils.py +++ pip-20.0.2/tests/unit/test_utils.py @@ -383,8 +383,9 @@ def test_rmtree_retries_for_3sec(tmpdir, # Test a bytes object with a character that can't be decoded. (u'/path/déf'.encode('utf-8'), 'ascii', u"b'/path/d\\xc3\\xa9f'"), (u'/path/déf'.encode('utf-16'), 'utf-8', - u"b'\\xff\\xfe/\\x00p\\x00a\\x00t\\x00h\\x00/" - "\\x00d\\x00\\xe9\\x00f\\x00'"), + u"b'\\xfe\\xff\\x00/\\x00p\\x00a\\x00t\\x00h\\x00/\\x00d\\x00\\xe9\\x00f'"), + + ]) def test_path_to_display(monkeypatch, path, fs_encoding, expected): monkeypatch.setattr(sys, 'getfilesystemencoding', lambda: fs_encoding)
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