Skip to content

Commit 8d5e86a

Browse files
authored
Testing CI (#1735) (#1743)
* Testing CI * Disable tests for Pillow 7
1 parent 07cbb46 commit 8d5e86a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

README.rst

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)