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