Thanks to visit codestin.com
Credit goes to github.com

Skip to content

gh-63882: Implement empty tests in test_minidom - #156677

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-63882-empty-tests
Sep 13, 2026
Merged

gh-63882: Implement empty tests in test_minidom#156677
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-63882-empty-tests

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Aug 30, 2026

Copy link
Copy Markdown
Member

The 25 tests defined as def testX(self): pass now test NamedNodeMap methods, the factory methods for namespaced nodes, parsing of elements, attributes, namespaces and processing instructions, and the traversal attributes.

testParse and testParseProcessingInstructions are limited to what is not already covered by testParseFromBinaryFile, testParseFromTextFile and testProcessingInstruction.

This makes PR #128948, which comments these tests out, unnecessary.

25 tests were defined as "def testX(self): pass" and reported success
without testing anything.
@bedevere-app bedevere-app Bot added tests Tests in the Lib/test dir awaiting core review labels Aug 30, 2026
@aisk aisk added the skip news label Aug 31, 2026
@serhiy-storchaka
serhiy-storchaka merged commit f154574 into python:main Sep 13, 2026
54 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the gh-63882-empty-tests branch September 13, 2026 12:53
@serhiy-storchaka serhiy-storchaka added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Sep 13, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Sep 13, 2026

Copy link
Copy Markdown

GH-157426 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Sep 13, 2026
@bedevere-app

bedevere-app Bot commented Sep 13, 2026

Copy link
Copy Markdown

GH-157427 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Sep 13, 2026
@bedevere-app

bedevere-app Bot commented Sep 13, 2026

Copy link
Copy Markdown

GH-157428 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Sep 13, 2026
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