Remove trailing L, not needed for Py2 and errors in Py3

This commit is contained in:
Hugo 2014-09-23 10:40:03 +03:00
parent 5957f5c812
commit c0ce691704

View File

@ -33,7 +33,7 @@ class TestFileTiffMetadata(PillowTestCase):
def test_read_metadata(self): def test_read_metadata(self):
img = Image.open('Tests/images/hopper_g4.tif') img = Image.open('Tests/images/hopper_g4.tif')
known = {'YResolution': ((4294967295L, 113653537),), known = {'YResolution': ((4294967295, 113653537),),
'PlanarConfiguration': (1,), 'PlanarConfiguration': (1,),
'BitsPerSample': (1,), 'BitsPerSample': (1,),
'ImageLength': (128,), 'ImageLength': (128,),
@ -43,7 +43,7 @@ class TestFileTiffMetadata(PillowTestCase):
'ResolutionUnit': (3,), 'ResolutionUnit': (3,),
'PhotometricInterpretation': (0,), 'PhotometricInterpretation': (0,),
'PageNumber': (0, 1), 'PageNumber': (0, 1),
'XResolution': ((4294967295L, 113653537),), 'XResolution': ((4294967295, 113653537),),
'ImageWidth': (128,), 'ImageWidth': (128,),
'Orientation': (1,), 'Orientation': (1,),
'StripByteCounts': (1968,), 'StripByteCounts': (1968,),