Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
3062217d
"git@developer.sourcefind.cn:OpenDAS/megatron-lm.git" did not exist on "031a4157e2d2b7aed4f88b8543c5689dfbbf53f9"
Commit
3062217d
authored
Dec 11, 2024
by
icecraft
Committed by
xu rui
Dec 11, 2024
Browse files
fix: fix ut
parent
b04867f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/unittest/test_data/test_read_api.py
tests/unittest/test_data/test_read_api.py
+1
-1
No files found.
tests/unittest/test_data/test_read_api.py
View file @
3062217d
...
@@ -19,7 +19,7 @@ def test_read_local_pdfs():
...
@@ -19,7 +19,7 @@ def test_read_local_pdfs():
def
test_read_local_images
():
def
test_read_local_images
():
datasets
=
read_local_images
(
'tests/unittest/test_data/assets/pngs'
,
suffixes
=
[
'png'
])
datasets
=
read_local_images
(
'tests/unittest/test_data/assets/pngs'
,
suffixes
=
[
'
.
png'
])
assert
len
(
datasets
)
==
2
assert
len
(
datasets
)
==
2
assert
len
(
datasets
[
0
])
==
1
assert
len
(
datasets
[
0
])
==
1
assert
len
(
datasets
[
1
])
==
1
assert
len
(
datasets
[
1
])
==
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment