KEMBAR78
gh-111803: Use more reasonable nesting in test_plistlib's test_deep_nesting by ronaldoussoren · Pull Request #114020 · python/cpython · GitHub
Skip to content

Conversation

@ronaldoussoren
Copy link
Contributor

@ronaldoussoren ronaldoussoren commented Jan 13, 2024

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-app bedevere-app bot added tests Tests in the Lib/test dir awaiting core review labels Jan 13, 2024
@ronaldoussoren ronaldoussoren added needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes and removed awaiting core review labels Jan 13, 2024
@ronaldoussoren ronaldoussoren changed the title Use more reasonable nesting in test_plistlib's test_deep_nesting gh-111803: Use more reasonable nesting in test_plistlib's test_deep_nesting Jan 13, 2024
@ronaldoussoren
Copy link
Contributor Author

#114024 is a better fix for the issue.

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

Labels

needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant