Skip to content

Add Python 3.10 and 3.11 to the testing - #635

Closed
cclauss wants to merge 2 commits into
PythonCharmers:masterfrom
cclauss:patch-6
Closed

cclauss wants to merge 2 commits into
PythonCharmers:masterfrom
cclauss:patch-6

Conversation

@cclauss

@cclauss cclauss commented Feb 21, 2024 •

Copy link
Copy Markdown
Contributor

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
@cclauss cclauss closed this Aug 13, 2024
@cclauss
cclauss deleted the patch-6 branch August 13, 2024 12:44
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.

1 participant