8000 gh-111803: Use more reasonable nesting in test_plistlib's test_deep_nesting by ronaldoussoren · Pull Request #114020 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

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

Closed
wants to merge 1 commit into from

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
0