mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-25 00:34:14 +03:00
Fix test/test_imagefileio.py
This commit is contained in:
parent
3ff2ea4883
commit
cbb2f9dce9
|
@ -1,5 +0,0 @@
|
|||
from tester import *
|
||||
|
||||
from PIL import Image
|
||||
|
||||
success()
|
|
@ -1,5 +0,0 @@
|
|||
from tester import *
|
||||
|
||||
from PIL import Image
|
||||
|
||||
success()
|
|
@ -1,5 +0,0 @@
|
|||
from tester import *
|
||||
|
||||
from PIL import Image
|
||||
|
||||
success()
|
|
@ -1,5 +0,0 @@
|
|||
from tester import *
|
||||
|
||||
from PIL import Image
|
||||
|
||||
success()
|
|
@ -1,5 +0,0 @@
|
|||
from tester import *
|
||||
|
||||
from PIL import Image
|
||||
|
||||
success()
|
|
@ -1,5 +0,0 @@
|
|||
from tester import *
|
||||
|
||||
from PIL import Image
|
||||
|
||||
success()
|
|
@ -11,9 +11,11 @@ class TestImageFileIo(PillowTestCase):
|
|||
class DumbFile:
|
||||
def __init__(self, data):
|
||||
self.data = data
|
||||
|
||||
def read(self, bytes=None):
|
||||
self.assertEqual(bytes, None)
|
||||
assert(bytes is None)
|
||||
return self.data
|
||||
|
||||
def close(self):
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user