]> granicus.if.org Git - python/commit
Cleanups in distutils tests.
authorÉric Araujo <merwok@netwok.org>
Wed, 2 Nov 2011 17:05:41 +0000 (18:05 +0100)
committerÉric Araujo <merwok@netwok.org>
Wed, 2 Nov 2011 17:05:41 +0000 (18:05 +0100)
commitaf2ffd75cf9900963d970657c7db5e3362f4548a
treec11891649d57d69c6ca293590607674bbf25729b
parent91d5193b3ad208f359107512ff12a416c9dbec3b
Cleanups in distutils tests.

- Actually check the contents of the file created by bdist_dumb.
- Don’t use “RECORD” as filename for non-PEP 376 record file
- Don’t start method name with “_test”, it smells like a disabled test
  method instead of an helper method
- Fix some idioms (assertIn, addCleanup)
Lib/distutils/tests/test_bdist_dumb.py
Lib/distutils/tests/test_install.py
Lib/distutils/tests/test_sdist.py