Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Advitya17 committed Feb 27, 2024
1 parent 3ba73aa commit 4574e74
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion responsibleai_vision/tests/test_image_utils.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Copyright (c) Microsoft Corporation
# Licensed under the MIT License.

import platform
from collections import Counter
from http.client import HTTPMessage
from math import isclose
Expand Down Expand Up @@ -95,7 +96,7 @@ def test_retry_sessions_retries_on_conn_failure(self, request_mock):
def test_get_all_exif_feature_names(self):
image_dataset = load_fridge_object_detection_dataset().head(2)
exif_feature_names = get_all_exif_feature_names(image_dataset)
assert len(exif_feature_names) == 11
assert len(exif_feature_names) == 10 if platform.system() == "Linux" else 11
assert set(exif_feature_names) == \
set(['Orientation', 'ExifOffset', 'ImageWidth', 'GPSInfo',
'Model', 'DateTime', 'YCbCrPositioning', 'ImageLength',
Expand Down

0 comments on commit 4574e74

Please sign in to comment.