mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-11 00:32:27 +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:
|
class DumbFile:
|
||||||
def __init__(self, data):
|
def __init__(self, data):
|
||||||
self.data = data
|
self.data = data
|
||||||
|
|
||||||
def read(self, bytes=None):
|
def read(self, bytes=None):
|
||||||
self.assertEqual(bytes, None)
|
assert(bytes is None)
|
||||||
return self.data
|
return self.data
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user