New submission from Antoine Pitrou <pit...@free.fr>: $ ./python -m test -Fv -unetwork test_packaging
[...] ====================================================================== ERROR: test_download (packaging.tests.test_pypi_dist.TestDistInfo) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/packaging/tests/pypi_server.py", line 68, in wrapped func(server=server, *args, **kwargs) File "/home/antoine/cpython/default/Lib/packaging/tests/test_pypi_dist.py", line 132, in test_download dist.download(self.mkdtemp()) File "/home/antoine/cpython/default/Lib/packaging/pypi/dist.py", line 306, in download self._check_md5(filename) File "/home/antoine/cpython/default/Lib/packaging/pypi/dist.py", line 339, in _check_md5 % (hashval.hexdigest(), expected_hashval)) packaging.pypi.errors.HashDoesNotMatch: got 8ae6ff9df26ff04232189724d520a17c instead of fe18804c5b722ff024cabdf514924fc4 ====================================================================== FAIL: test_hooks_get_run (packaging.tests.test_dist.DistributionTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/antoine/cpython/default/Lib/packaging/tests/test_dist.py", line 234, in test_hooks_get_run 'post-test_dist']) AssertionError: Lists differ: ['finalize', 'pre-test_dist', ... != ['finalize', 'pre-test_dist', ... First list contains 4 additional elements. First extra element 4: finalize + ['finalize', 'pre-test_dist', 'run', 'post-test_dist'] - ['finalize', - 'pre-test_dist', - 'run', - 'post-test_dist', - 'finalize', - 'pre-test_dist', - 'run', - 'post-test_dist'] ---------------------------------------------------------------------- ---------- assignee: tarek components: Distutils2, Tests messages: 136283 nosy: alexis, eric.araujo, pitrou, tarek priority: high severity: normal stage: needs patch status: open title: test_packaging fails when run twice type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12113> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com