def test_with_image(self): read(Image.open(EXAMPLES.simple_1.img_res_path))
def test_with_file(self): read(open(EXAMPLES.simple_1.img_res_path, 'rb'))
def test_with_path(self): read(EXAMPLES.simple_1.img_res_path)
def test_with_file(self): with open(EXAMPLES.simple_1.img_res_path, 'rb') as f: read(f)