Unverified Commit be6dd472 authored by Francisco Massa's avatar Francisco Massa Committed by GitHub
Browse files

Testing CI (#1735)

* Testing CI

* Disable tests for Pillow 7
parent 07cbb46a
...@@ -16,6 +16,7 @@ torchvision ...@@ -16,6 +16,7 @@ torchvision
The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision. The torchvision package consists of popular datasets, model architectures, and common image transformations for computer vision.
Installation Installation
============ ============
......
...@@ -892,6 +892,7 @@ class Tester(unittest.TestCase): ...@@ -892,6 +892,7 @@ class Tester(unittest.TestCase):
y_ans = np.array(y_ans, dtype=np.uint8).reshape(x_shape) y_ans = np.array(y_ans, dtype=np.uint8).reshape(x_shape)
self.assertTrue(np.allclose(y_np, y_ans)) self.assertTrue(np.allclose(y_np, y_ans))
@unittest.skipIf(Image.__version__ >= '7', "Temporarily disabled")
def test_adjust_saturation(self): def test_adjust_saturation(self):
x_shape = [2, 2, 3] x_shape = [2, 2, 3]
x_data = [0, 5, 13, 54, 135, 226, 37, 8, 234, 90, 255, 1] x_data = [0, 5, 13, 54, 135, 226, 37, 8, 234, 90, 255, 1]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment