Skip to content

Commit

Permalink
Merge pull request #7739 from radarhere/test_image_results
Browse files Browse the repository at this point in the history
Do not support using test-image-results to upload images after test failures
  • Loading branch information
radarhere committed Jan 24, 2024
2 parents be1508f + 4674195 commit 4175787
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Tests/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,6 @@
uploader = "show"
elif "GITHUB_ACTIONS" in os.environ:
uploader = "github_actions"
else:
try:
import test_image_results

uploader = "aws"
except ImportError:
pass


def upload(a: Image.Image, b: Image.Image) -> str | None:
Expand All @@ -46,8 +39,6 @@ def upload(a: Image.Image, b: Image.Image) -> str | None:
a.save(os.path.join(tmpdir, "a.png"))
b.save(os.path.join(tmpdir, "b.png"))
return tmpdir
elif uploader == "aws":
return test_image_results.upload(a, b)
return None


Expand Down

0 comments on commit 4175787

Please sign in to comment.