Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit65e5860

Browse files
asottilewarsaw
authored andcommitted
1 parent03d5831 commit65e5860

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

‎Lib/importlib/metadata/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ def _from_config(cls, config):
8989
@classmethod
9090
def_from_text(cls,text):
9191
config=ConfigParser()
92+
# case sensitive: https://stackoverflow.com/q/1611799/812183
93+
config.optionxform=str
9294
try:
9395
config.read_string(text)
9496
exceptAttributeError:# pragma: nocover
Binary file not shown.
Binary file not shown.

‎Lib/test/test_importlib/test_zip.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ def test_zip_entry_points(self):
2626
scripts=dict(entry_points()['console_scripts'])
2727
entry_point=scripts['example']
2828
self.assertEqual(entry_point.value,'example:main')
29+
entry_point=scripts['Example']
30+
self.assertEqual(entry_point.value,'example:main')
2931

3032
deftest_missing_metadata(self):
3133
self.assertIsNone(distribution('example').read_text('does not exist'))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp