Ejemplo n.º 1
0
 def test_with_image(self):
     read(Image.open(EXAMPLES.simple_1.img_res_path))
Ejemplo n.º 2
0
 def test_with_file(self):
     read(open(EXAMPLES.simple_1.img_res_path, 'rb'))
Ejemplo n.º 3
0
 def test_with_path(self):
     read(EXAMPLES.simple_1.img_res_path)
Ejemplo n.º 4
0
 def test_with_image(self):
     read(Image.open(EXAMPLES.simple_1.img_res_path))
Ejemplo n.º 5
0
 def test_with_file(self):
     with open(EXAMPLES.simple_1.img_res_path, 'rb') as f:
         read(f)
Ejemplo n.º 6
0
 def test_with_path(self):
     read(EXAMPLES.simple_1.img_res_path)