Skip to content

Commit 90f5aac

Browse files
fmassafacebook-github-bot
authored andcommitted
Testing CI (#1735) (#1748)
Summary: * Testing CI * Disable tests for Pillow 7 Pull Request resolved: #1748 Reviewed By: drothermel Differential Revision: D19390268 Pulled By: fmassa fbshipit-source-id: fd4a825ac463aa7b02f7061ea8a6913491e7d94e
1 parent 1032c0d commit 90f5aac

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.rst

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ torchvision
1616

1717
The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision.
1818

19+
1920
Installation
2021
============
2122

test/test_transforms.py

+1
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,7 @@ def test_adjust_contrast(self):
892892
y_ans = np.array(y_ans, dtype=np.uint8).reshape(x_shape)
893893
self.assertTrue(np.allclose(y_np, y_ans))
894894

895+
@unittest.skipIf(Image.__version__ >= '7', "Temporarily disabled")
895896
def test_adjust_saturation(self):
896897
x_shape = [2, 2, 3]
897898
x_data = [0, 5, 13, 54, 135, 226, 37, 8, 234, 90, 255, 1]

0 commit comments

Comments
 (0)