diff options
author | Éric Araujo <merwok@netwok.org> | 2011-09-10 03:18:20 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2011-09-10 03:18:20 (GMT) |
commit | 6bbd775377ae4a6e87ccce990750ac02afe83573 (patch) | |
tree | e794c3ba5ecf0144ff6cd523777f4d774759fbbe /Modules/resource.c | |
parent | 92ffc500d1b218d533953c8b7a79733902125f9c (diff) | |
download | cpython-6bbd775377ae4a6e87ccce990750ac02afe83573.zip cpython-6bbd775377ae4a6e87ccce990750ac02afe83573.tar.gz cpython-6bbd775377ae4a6e87ccce990750ac02afe83573.tar.bz2 |
Consolidate tests for packaging.metadata.
New tests were added in test_metadata and old tests inherited from
distutils were still in test_dist, so I moved them into test_metadata
(except for one which was more at home in test_run) and merged
duplicates.
I also added some skips to lure contributors <wink>, optimized the
Metadata.update method a trifle, and added notes about a number of
issues.
A note: The tests in test_dist used to dump the Metadata objects to a
file in the METADATA format and look for strings in its contents; I
updated them to use the mapping API of Metadata instead. For some
fields with special writing rules, I have added tests to ensure my
conversion did not lose anything.
Diffstat (limited to 'Modules/resource.c')
0 files changed, 0 insertions, 0 deletions