mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 15:14:45 +03:00
Use a single version number, no need for confusing PIL version 1.1.7
This commit is contained in:
parent
e24fad40ad
commit
c2dbb0a3c5
|
@ -11,8 +11,6 @@ class TestSanity(PillowTestCase):
|
||||||
# Make sure we have the binary extension
|
# Make sure we have the binary extension
|
||||||
im = PIL.Image.core.new("L", (100, 100))
|
im = PIL.Image.core.new("L", (100, 100))
|
||||||
|
|
||||||
self.assertEqual(PIL.Image.VERSION[:3], '1.1')
|
|
||||||
|
|
||||||
# Create an image and do stuff with it.
|
# Create an image and do stuff with it.
|
||||||
im = PIL.Image.new("1", (100, 100))
|
im = PIL.Image.new("1", (100, 100))
|
||||||
self.assertEqual((im.mode, im.size), ('1', (100, 100)))
|
self.assertEqual((im.mode, im.size), ('1', (100, 100)))
|
||||||
|
|
|
@ -13,10 +13,7 @@
|
||||||
|
|
||||||
from . import version
|
from . import version
|
||||||
|
|
||||||
VERSION = '1.1.7' # PIL Version
|
PILLOW_VERSION = VERSION = __version__ = version.__version__
|
||||||
PILLOW_VERSION = version.__version__
|
|
||||||
|
|
||||||
__version__ = PILLOW_VERSION
|
|
||||||
|
|
||||||
_plugins = ['BlpImagePlugin',
|
_plugins = ['BlpImagePlugin',
|
||||||
'BmpImagePlugin',
|
'BmpImagePlugin',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user