Skip to content

gh-152682: Remove useless test_syntax.test_disallowed_type_param_names_oom#152770

Merged
StanFromIreland merged 1 commit into
python:mainfrom
petrvaganoff:dev
Jul 1, 2026
Merged

gh-152682: Remove useless test_syntax.test_disallowed_type_param_names_oom#152770
StanFromIreland merged 1 commit into
python:mainfrom
petrvaganoff:dev

Conversation

@petrvaganoff

@petrvaganoff petrvaganoff commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

The regression test has been removed because it was non-functional. The previous fix for this issue is covered by test_disallowed_type_param_names(). Tests are not required for fixes of this kind.

Since the main pull request has already been merged, I’ve opened a new one to remove the test.

Context: comment from @StanFromIreland
#152684 (comment)

The regression test has been removed because it was non-functional.
The previous fix for this issue is covered by `test_disallowed_type_param_names()`.
Tests are not required for fixes of this kind.

Signed-off-by: Petr Vaganov <petrvaganoff@gmail.com>
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting review labels Jul 1, 2026
@petrvaganoff petrvaganoff changed the title gh-152682: delete unuseless test_disallowed_type_param_names gh-152682: delete useless disallowed_type_param_names_oom Jul 1, 2026
@petrvaganoff

Copy link
Copy Markdown
Contributor Author

Please add skip news because news was added in previous commit in this issue.

@petrvaganoff

Copy link
Copy Markdown
Contributor Author

Also, could you please advise on how to handle these backports?

#152697
#152696
#152695

Should we merge them first and then backport this pull request?

@StanFromIreland

Copy link
Copy Markdown
Member

We can cherry-pick to the backports, we don't need to merge in unnecessary tests just to remove them shortly after.

@StanFromIreland StanFromIreland changed the title gh-152682: delete useless disallowed_type_param_names_oom gh-152682: Remove useless test_syntax.test_disallowed_type_param_names_oom Jul 1, 2026
@StanFromIreland StanFromIreland merged commit df2538a into python:main Jul 1, 2026
58 checks passed
@petrvaganoff

Copy link
Copy Markdown
Contributor Author

Okay, thank you for the help.

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

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants