Skip to content

gh-111803: Use more reasonable nesting in test_plistlib's test_deep_nesting - #114020

Closed
ronaldoussoren wants to merge 1 commit into
python:mainfrom
ronaldoussoren:gh-111803
Closed

gh-111803: Use more reasonable nesting in test_plistlib's test_deep_nesting#114020
ronaldoussoren wants to merge 1 commit into
python:mainfrom
ronaldoussoren:gh-111803

Conversation

@ronaldoussoren

@ronaldoussorenronaldoussoren commented Jan 13, 2024

Copy link
Copy Markdown
Contributor

This adjust the nesting levels used by the test_deep_nesting because the previous levels consistently hit the recursion limit and ended up not testing anything.

Adjusting the level is reasonable because the tested nesting levels should still be significantly larger than those seen in real world plist files.

The test also no longer ignores recursion errors.

This adjust the nesting levels used by the test_deep_nesting
because the previous levels consistently hit the recursion limit
and ended up not testing anything.
Adjusting the level is reasonable because the tested nesting levels
should still be significantly larger than those seen in real world
plist files.
The test also no longer ignores recursion errors.
@bedevere-appbedevere-appBot added tests Tests in the Lib/test dir awaiting core review labels Jan 13, 2024
@ronaldoussorenronaldoussoren changed the title Use more reasonable nesting in test_plistlib's test_deep_nestinggh-111803: Use more reasonable nesting in test_plistlib's test_deep_nestingJan 13, 2024
@ronaldoussoren

Copy link
Copy Markdown
ContributorAuthor

#114024 is a better fix for the issue.

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

Labels

needs backport to 3.11only security fixesneeds backport to 3.12only security fixesskip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@ronaldoussoren