Log results of debugging in comments.
This commit is contained in:
parent
4f73855606
commit
677ce9132b
1 changed files with 5 additions and 1 deletions
|
|
@ -99,7 +99,11 @@ def test_convert_stream_without_hints(test_vector):
|
||||||
# For some limited exceptions, we can't guarantee the exact
|
# For some limited exceptions, we can't guarantee the exact
|
||||||
# mimetype or extension, so we'll special-case them here.
|
# mimetype or extension, so we'll special-case them here.
|
||||||
if test_vector.filename in [
|
if test_vector.filename in [
|
||||||
"test_mskanji.csv", # This works locally but not on the CI. Maybe the charset is different?
|
# This appears to be a subtle bug in magika where, in some
|
||||||
|
# environments (like CI and Docker), this file is misclassified
|
||||||
|
# as random bytes, only when read from stdin. (MD5 hashses
|
||||||
|
# confirm byte-for-byte equality)
|
||||||
|
"test_mskanji.csv",
|
||||||
]:
|
]:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue