Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test fails with new Python 3.11 #48

Closed
tim77 opened this issue Aug 16, 2022 · 1 comment
Closed

Test fails with new Python 3.11 #48

tim77 opened this issue Aug 16, 2022 · 1 comment

Comments

@tim77
Copy link

tim77 commented Aug 16, 2022

=================================== FAILURES ===================================
__________________________ BinaryVDF.test_loads_utf16 __________________________
self = <tests.test_binary_vdf.BinaryVDF testMethod=test_loads_utf16>
    def test_loads_utf16(self):
>       self.assertEqual({'aaa': b'b\x00b\x00\xff\xffb\x00b\x00'.decode('utf-16le')}, vdf.binary_loads(b'\x05aaa\x00b\x00b\x00\xff\xffb\x00b\x00\x00\x00\x08'))
E       AssertionError: {'aaa': 'bb\uffffbb'} != {'aaa': '戀戀\uffff戀戀'}
E       - {'aaa': 'bb\uffffbb'}
E       ?          ^^      ^^
E       
E       + {'aaa': '戀戀\uffff戀戀'}
E       ?          ^^      ^^
tests/test_binary_vdf.py:188: AssertionError
=========================== short test summary info ============================
FAILED tests/test_binary_vdf.py::BinaryVDF::test_loads_utf16 - AssertionError...
========================= 1 failed, 98 passed in 0.17s =========================
  • Python version: 3.11.0rc1
  • OS: Fedora 37, Fedora Rawhide
  • Full build log
@tim77
Copy link
Author

tim77 commented Aug 19, 2022

Apologize for duplicate of #33.

@tim77 tim77 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant