Skip to content

[3.14 Regression] test_typing.GenericTests.test_parameters_deep_recursion fails on arm-linux-gnueabihf #158314

Description

@doko42

Bug report

Bug description:

this test started to fail with
[3.14] gh-155109: Run tests exhausting the C stack with a limited C stack (GH-155120) (GH-155165)
it succeeds on the 3.15 branch.

5897s Re-running test_typing in verbose mode (matching: test_parameters_deep_recursion)
5897s test_parameters_deep_recursion (test.test_typing.GenericTests.test_parameters_deep_recursion) ... FAIL
5897s 
5897s ======================================================================
5897s FAIL: test_parameters_deep_recursion (test.test_typing.GenericTests.test_parameters_deep_recursion)
5897s ----------------------------------------------------------------------
5897s Traceback (most recent call last):
5897s   File "/usr/lib/python3.14/test/support/__init__.py", line 2859, in wrapper
5897s     raise exceptions[0]
5897s   File "/usr/lib/python3.14/test/support/__init__.py", line 2845, in run
5897s     run_test()
5897s     ~~~~~~~~^^
5897s   File "/usr/lib/python3.14/test/support/__init__.py", line 2833, in run_test
5897s     test(*args, **kwargs)
5897s     ~~~~^^^^^^^^^^^^^^^^^
5897s   File "/usr/lib/python3.14/test/test_typing.py", line 4939, in test_parameters_deep_recursion
5897s     with self.assertRaisesRegex(RecursionError, "in __parameter__ calculation"):
5897s          ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
5897s AssertionError: RecursionError not raised
5897s 
5897s ----------------------------------------------------------------------
5897s Ran 1 test in 0.271s
5897s 
5897s FAILED (failures=1)
5897s test test_typing failed
5897s 1 test failed again:

CPython versions tested on:

3.14

Operating systems tested on:

Linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixestestsTests in the Lib/test dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions