mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-09-24 13:07:00 +03:00
Minor cleanups.
This commit is contained in:
parent
111fd56e67
commit
dc714892c9
|
@ -320,5 +320,5 @@ int main(int argc, char* argv[])
|
|||
try:
|
||||
os.remove("embed_pil.c")
|
||||
except FileNotFoundError:
|
||||
# If the test was skipped or failed, the file won't exist,
|
||||
# If the test was skipped or failed, the file won't exist
|
||||
pass
|
||||
|
|
|
@ -10,10 +10,10 @@ pyroma = pytest.importorskip("pyroma", reason="Pyroma not installed")
|
|||
|
||||
|
||||
def map_metadata_keys(metadata):
|
||||
"Convert installed wheel metadata into canonical Core Metadata 2.4 format."
|
||||
# This was a utility method in pyroma 4.3.3; it was removed in 5.0
|
||||
# Convert installed wheel metadata into canonical Core Metadata 2.4 format.
|
||||
# This was a utility method in pyroma 4.3.3; it was removed in 5.0.
|
||||
# This implementation is constructed from the relevant logic from
|
||||
# PyRoma 5.0's `build_metadata()` implementation.
|
||||
# Pyroma 5.0's `build_metadata()` implementation.
|
||||
|
||||
data = {}
|
||||
for key in set(metadata.keys()):
|
||||
|
|
Loading…
Reference in New Issue
Block a user