indentation fix

This commit is contained in:
Abubakar Abid 2021-11-15 07:14:21 -06:00
parent 18617f310a
commit f361f36625

View File

@ -315,7 +315,7 @@ class TestImage(unittest.TestCase):
with self.assertRaises(ValueError):
wrong_type = gr.inputs.Image(type="unknown")
wrong_type.preprocess(img)
with self.assertRaises(ValueError):
with self.assertRaises(ValueError):
wrong_type = gr.inputs.Image(type="unknown")
wrong_type.serialize("test/test_files/bus.png", False)
img_pil = PIL.Image.open('test/test_files/bus.png')