Fix test/test_imagefileio.py

This commit is contained in:
hugovk 2014-06-06 15:26:48 +03:00
parent 3ff2ea4883
commit cbb2f9dce9
7 changed files with 3 additions and 31 deletions

View File

@ -1,5 +0,0 @@
from tester import *
from PIL import Image
success()

View File

@ -1,5 +0,0 @@
from tester import *
from PIL import Image
success()

View File

@ -1,5 +0,0 @@
from tester import *
from PIL import Image
success()

View File

@ -1,5 +0,0 @@
from tester import *
from PIL import Image
success()

View File

@ -1,5 +0,0 @@
from tester import *
from PIL import Image
success()

View File

@ -1,5 +0,0 @@
from tester import *
from PIL import Image
success()

View File

@ -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