8000 gh-107625: configparser: Raise ParsingError if a key contains empty value by Agent-Hellboy · Pull Request #107651 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-107625: configparser: Raise ParsingError if a key contains empty value #107651

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

Merged
merged 23 commits into from
Mar 6, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Lib/test/test_configparser.py
Co-authored-by: Éric <merwok@netwok.org>
  • Loading branch information
Agent-Hellboy and merwok authored Aug 5, 2023
commit 726264d77ca4382c5222dd72aa78d8070bd56ee5
3 changes: 1 addition & 2 deletions Lib/test/test_configparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1555,8 +1555,7 @@ def test_source_as_bytes(self):
"'[badbad'"
)

def test_gh_107625(self):
#test key without value with extra whitespace within sections
def test_keys_without_value_with_extra_whitespace(self):
lines = [
'[SECT]\n',
'KEY1\n',
Expand Down
0