]> granicus.if.org Git - python/commit
Fix omission in test for packaging install_distinfo command.
authorÉric Araujo <merwok@netwok.org>
Fri, 10 Jun 2011 01:53:49 +0000 (03:53 +0200)
committerÉric Araujo <merwok@netwok.org>
Fri, 10 Jun 2011 01:53:49 +0000 (03:53 +0200)
commitf53cd89006ccd2144e5707c3fd4ccf5c96a3ec20
tree9324c162f9ee473491e3ab5700460346c3c71251
parentedd95dd3cb205be06270ca7e79467917bd7d3783
Fix omission in test for packaging install_distinfo command.

The code does not write checksum or file length for .pyc and .pyo in the RECORD
file, in compliance with PEP 376, but the test forgot to take .pyo into
account.  This was not caught because there were no .pyo in the checkout, but
after installing there are .pyo files created by compileall, and the test picks
them up.
Lib/packaging/tests/test_command_install_distinfo.py