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