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
OpenDAS
vision
Commits
27764a17
Unverified
Commit
27764a17
authored
Jun 07, 2024
by
Nicolas Hug
Committed by
GitHub
Jun 07, 2024
Browse files
Skip flaky earth gif test on OSS CI (#8480)
parent
b09b3f6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
test/test_image.py
test/test_image.py
+4
-1
No files found.
test/test_image.py
View file @
27764a17
...
...
@@ -10,7 +10,7 @@ import pytest
import
requests
import
torch
import
torchvision.transforms.functional
as
F
from
common_utils
import
assert_equal
,
needs_cuda
from
common_utils
import
assert_equal
,
IN_OSS_CI
,
needs_cuda
from
PIL
import
__version__
as
PILLOW_VERSION
,
Image
,
ImageOps
,
ImageSequence
from
torchvision.io.image
import
(
_read_png_16
,
...
...
@@ -569,6 +569,9 @@ def test_decode_gif(tmpdir, name, scripted):
path
=
tmpdir
/
f
"
{
name
}
.gif"
if
name
==
"earth"
:
if
IN_OSS_CI
:
# TODO: Fix this... one day.
pytest
.
skip
(
"Skipping 'earth' test as it's flaky on OSS CI"
)
url
=
"https://upload.wikimedia.org/wikipedia/commons/2/2c/Rotating_earth_%28large%29.gif"
else
:
url
=
f
"https://sourceforge.net/p/giflib/code/ci/master/tree/pic/
{
name
}
.gif?format=raw"
...
...
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