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

Add Python 3.10 and 3.11 to the testing #635

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Feb 21, 2024

DeprecationWarning:

/usr/local/lib/python3.12/site-packages/libfuturize/fixer_util.py:11:
  DeprecationWarning: lib2to3 package is deprecated and may not be able to parse Python 3.10+
    from lib2to3.fixer_util import (FromImport, Newline, is_import,

On Python 3.12...

=================================== FAILURES ===================================
___________ TestIsInstanceIsSubclass.test_isinstance_recursion_limit ___________

self = <test_future.test_isinstance.TestIsInstanceIsSubclass testMethod=test_isinstance_recursion_limit>

    def test_isinstance_recursion_limit(self):
        # make sure that issubclass raises RuntimeError before the C stack is
        # blown
>       self.assertRaises(RuntimeError, blowstack, isinstance, '', str)
E       AssertionError: RuntimeError not raised by blowstack

tests/test_future/test_isinstance.py:275: AssertionError
____________ TestIsInstanceIsSubclass.test_subclass_recursion_limit ____________

self = <test_future.test_isinstance.TestIsInstanceIsSubclass testMethod=test_subclass_recursion_limit>

    def test_subclass_recursion_limit(self):
        # make sure that issubclass raises RuntimeError before the C stack is
        # blown
>       self.assertRaises(RuntimeError, blowstack, issubclass, str, str)
E       AssertionError: RuntimeError not raised by blowstack

tests/test_future/test_isinstance.py:270: AssertionError

@cclauss cclauss changed the title Add Python 3.10, 3.11, and 3.12 to the testing Add Python 3.10 and 3.11 to the testing Feb 21, 2024
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

Successfully merging this pull request may close these issues.

None yet

1 participant