Skip to content

Commit

Permalink
Removed support for test-image-results
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Jan 21, 2024
1 parent 1891b61 commit 4674195
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 4674195

Please sign in to comment.