Updated with main.
This commit is contained in:
parent
a8220bb7cc
commit
a3a0836c1d
2 changed files with 0 additions and 18 deletions
|
|
@ -132,15 +132,6 @@ def test_convert_url(shared_tmp_dir, test_vector):
|
||||||
"""Test the conversion of a stream with no stream info."""
|
"""Test the conversion of a stream with no stream info."""
|
||||||
# Note: tmp_dir is not used here, but is needed to match the signature
|
# Note: tmp_dir is not used here, but is needed to match the signature
|
||||||
|
|
||||||
# For some limited exceptions, we can't guarantee the exact
|
|
||||||
# mimetype or extension, so we'll special-case them here.
|
|
||||||
if test_vector.filename in [
|
|
||||||
# This appears to be a subtle bug in magika.
|
|
||||||
# See: https://github.com/google/magika/issues/983
|
|
||||||
"test_mskanji.csv",
|
|
||||||
]:
|
|
||||||
return
|
|
||||||
|
|
||||||
markitdown = MarkItDown()
|
markitdown = MarkItDown()
|
||||||
|
|
||||||
time.sleep(1) # Ensure we don't hit rate limits
|
time.sleep(1) # Ensure we don't hit rate limits
|
||||||
|
|
|
||||||
|
|
@ -112,15 +112,6 @@ def test_convert_url(test_vector):
|
||||||
"""Test the conversion of a stream with no stream info."""
|
"""Test the conversion of a stream with no stream info."""
|
||||||
markitdown = MarkItDown()
|
markitdown = MarkItDown()
|
||||||
|
|
||||||
# For some limited exceptions, we can't guarantee the exact
|
|
||||||
# mimetype or extension, so we'll special-case them here.
|
|
||||||
if test_vector.filename in [
|
|
||||||
# This appears to be a subtle bug in magika.
|
|
||||||
# See: https://github.com/google/magika/issues/983
|
|
||||||
"test_mskanji.csv",
|
|
||||||
]:
|
|
||||||
return
|
|
||||||
|
|
||||||
time.sleep(1) # Ensure we don't hit rate limits
|
time.sleep(1) # Ensure we don't hit rate limits
|
||||||
|
|
||||||
result = markitdown.convert(
|
result = markitdown.convert(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue