mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 01:04:29 +03:00
Use unittest asserts for consistency
This commit is contained in:
parent
c994b783ec
commit
f5a89a0e9a
|
@ -458,9 +458,9 @@ class TestFileLibTiff(LibTiffTestCase):
|
|||
im3 = Image.open(out)
|
||||
self.assert_image_similar(im2, im3, 30)
|
||||
|
||||
assert size_raw > size_compressed
|
||||
assert size_compressed > size_jpeg
|
||||
assert size_jpeg > size_jpeg_30
|
||||
self.assertGreater(size_raw, size_compressed)
|
||||
self.assertGreater(size_compressed, size_jpeg)
|
||||
self.assertGreater(size_jpeg, size_jpeg_30)
|
||||
|
||||
def test_quality(self):
|
||||
im = hopper("RGB")
|
||||
|
|
Loading…
Reference in New Issue
Block a user