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 failures with Python 3.12 #18

Open
mgorny opened this issue Oct 20, 2023 · 1 comment
Open

Test failures with Python 3.12 #18

mgorny opened this issue Oct 20, 2023 · 1 comment
Assignees
Labels

Comments

@mgorny
Copy link

mgorny commented Oct 20, 2023

When running the test suite with Python 3.12.0, I'm getting two test failures:

======================================================================
FAIL: test_recursion (test.test.TestEncodeDecodeFpExt.test_recursion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/py-ubjson/test/test.py", line 476, in test_recursion
    with self.assert_raises_regex(RuntimeError, 'recursion'):
AssertionError: RuntimeError not raised

======================================================================
FAIL: test_recursion (test.test.TestEncodeDecodePlainExt.test_recursion)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/py-ubjson/test/test.py", line 476, in test_recursion
    with self.assert_raises_regex(RuntimeError, 'recursion'):
AssertionError: RuntimeError not raised
@vtermanis
Copy link
Member

It's probably a change in the default recursion limit with the latest version of Python - I'll have a look later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants