Skip to content

Commit 68720c5

Browse files
committed
small cleanup.
1 parent 1b584fe commit 68720c5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
'Topic :: Software Development :: Libraries :: Python Modules',
2121
],
2222
keywords='textile,text',
23-
test_suite = 'nose.collector',
24-
tests_require = ['nose'],
23+
test_suite='nose.collector',
24+
tests_require=['nose'],
2525
include_package_data=True,
2626
zip_safe=False,
2727
)

textile/tools/imagesize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ def getimagesize(url):
3333
def setup_module(module):
3434
from nose.plugins.skip import SkipTest
3535
try:
36-
from PIL import ImageFile
36+
__import__('PIL')
3737
except ImportError:
3838
raise SkipTest()

0 commit comments

Comments
 (0)