Skip to content

Commit 4175787

Browse files
authored
Merge pull request #7739 from radarhere/test_image_results
Do not support using test-image-results to upload images after test failures
2 parents be1508f + 4674195 commit 4175787

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Tests/helper.py

-9
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,6 @@
2525
uploader = "show"
2626
elif "GITHUB_ACTIONS" in os.environ:
2727
uploader = "github_actions"
28-
else:
29-
try:
30-
import test_image_results
31-
32-
uploader = "aws"
33-
except ImportError:
34-
pass
3528

3629

3730
def upload(a: Image.Image, b: Image.Image) -> str | None:
@@ -46,8 +39,6 @@ def upload(a: Image.Image, b: Image.Image) -> str | None:
4639
a.save(os.path.join(tmpdir, "a.png"))
4740
b.save(os.path.join(tmpdir, "b.png"))
4841
return tmpdir
49-
elif uploader == "aws":
50-
return test_image_results.upload(a, b)
5142
return None
5243

5344

0 commit comments

Comments
 (0)