]> granicus.if.org Git - python/commit
Minor tweaks in packaging’s test_dist.
authorÉric Araujo <merwok@netwok.org>
Fri, 17 Jun 2011 11:24:33 +0000 (13:24 +0200)
committerÉric Araujo <merwok@netwok.org>
Fri, 17 Jun 2011 11:24:33 +0000 (13:24 +0200)
commitd2c7e3fe96b16122fe23e018f970c5518c6411b5
tree8da098a89d4bbb453204ba385bc2f44f8d9e9c72
parent3e85e5427410bce670d516cf662c12413e155c16
Minor tweaks in packaging’s test_dist.

- Use different Metadata objects to write and read a PKG-INFO (METADATA)
  file, to make sure the tested values come from the file

- No need to restore methods on an instance after monkey-patching them:
  the methods are still the same on the class

- Harmonize dedent calls
Lib/packaging/tests/test_dist.py