| Summary: | dev-python/python-magic-0.4.15 : [TEST] FAIL: test_descriptions (_main_.MagicTest) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Ian Whyman (thev00d00) (RETIRED) <thev00d00> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | alexey+gentoo, erhard_f |
| Priority: | Normal | Keywords: | TESTFAILURE |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge-info.txt
dev-python:python-magic-0.4.15:20180814-101652.log emerge-history.txt environment etc.portage.tbz2 temp.tbz2 |
||
|
Description
Toralf Förster
2018-08-14 16:01:04 UTC
Created attachment 543404 [details]
emerge-info.txt
Created attachment 543406 [details]
dev-python:python-magic-0.4.15:20180814-101652.log
Created attachment 543408 [details]
emerge-history.txt
Created attachment 543410 [details]
environment
Created attachment 543412 [details]
etc.portage.tbz2
Created attachment 543414 [details]
temp.tbz2
I see the same in 0.4.15-r1 on sparc:
FAIL: test_descriptions (__main__.MagicTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test/test.py", line 73, in test_descriptions
}, buf_equals_file=False)
File "test/test.py", line 33, in assert_values
self.assertIn(value, expected_value)
AssertionError: 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, original size modulo 2^32 15' not found in ('gzip compressed data, was "test", from Unix, last modified: Sun Jun 29 01:32:52 2008', 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix', 'gzip compressed data, was "test", last modified: Sun Jun 29 01:32:52 2008, from Unix, original size 15')
*** Bug 708356 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d59faf751cc6da052f20b2b6edeb1330a303aac4 commit d59faf751cc6da052f20b2b6edeb1330a303aac4 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2020-03-03 06:15:52 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-03-03 06:17:04 +0000 dev-python/python-magic: Add patch to fix tests Closes: https://bugs.gentoo.org/663610 Signed-off-by: Matt Turner <mattst88@gentoo.org> .../python-magic-0.4.15-fix-gzip-test-2.patch | 26 ++++++++++++++++++++++ .../python-magic/python-magic-0.4.15-r1.ebuild | 2 ++ 2 files changed, 28 insertions(+) |