diff --git a/Tests/images/12bit.MM.cropped.tif b/Tests/images/16bit.MM.cropped.tif similarity index 100% rename from Tests/images/12bit.MM.cropped.tif rename to Tests/images/16bit.MM.cropped.tif diff --git a/Tests/images/12bit.MM.deflate.tif b/Tests/images/16bit.MM.deflate.tif similarity index 100% rename from Tests/images/12bit.MM.deflate.tif rename to Tests/images/16bit.MM.deflate.tif diff --git a/Tests/images/12bit.cropped.tif b/Tests/images/16bit.cropped.tif similarity index 100% rename from Tests/images/12bit.cropped.tif rename to Tests/images/16bit.cropped.tif diff --git a/Tests/images/12bit.deflate.tif b/Tests/images/16bit.deflate.tif similarity index 100% rename from Tests/images/12bit.deflate.tif rename to Tests/images/16bit.deflate.tif diff --git a/Tests/test_file_libtiff.py b/Tests/test_file_libtiff.py index 19626c1da..ce61476b3 100644 --- a/Tests/test_file_libtiff.py +++ b/Tests/test_file_libtiff.py @@ -118,7 +118,7 @@ def test_g3_compression(): assert_image_equal(reread, i) def test_little_endian(): - im = Image.open('Tests/images/12bit.deflate.tif') + im = Image.open('Tests/images/16bit.deflate.tif') assert_equal(im.getpixel((0,0)), 480) assert_equal(im.mode, 'I;16') @@ -143,7 +143,7 @@ def test_little_endian(): # on big endian, we'll get back mode = 'I;16B' here. def test_big_endian(): - im = Image.open('Tests/images/12bit.MM.deflate.tif') + im = Image.open('Tests/images/16bit.MM.deflate.tif') assert_equal(im.getpixel((0,0)), 480) assert_equal(im.mode, 'I;16B') diff --git a/Tests/test_file_tiff.py b/Tests/test_file_tiff.py index 88c1aa8fd..28c550267 100644 --- a/Tests/test_file_tiff.py +++ b/Tests/test_file_tiff.py @@ -74,7 +74,7 @@ def test_xyres_tiff(): def test_little_endian(): - im = Image.open('Tests/images/12bit.cropped.tif') + im = Image.open('Tests/images/16bit.cropped.tif') assert_equal(im.getpixel((0,0)), 480) assert_equal(im.mode, 'I;16') @@ -89,7 +89,7 @@ def test_little_endian(): def test_big_endian(): - im = Image.open('Tests/images/12bit.MM.cropped.tif') + im = Image.open('Tests/images/16bit.MM.cropped.tif') assert_equal(im.getpixel((0,0)), 480) assert_equal(im.mode, 'I;16B') diff --git a/Tests/test_image_convert.py b/Tests/test_image_convert.py index 547246c8b..fd3d39bc5 100644 --- a/Tests/test_image_convert.py +++ b/Tests/test_image_convert.py @@ -38,12 +38,12 @@ def test_8bit(): im = Image.open('Images/lena.jpg') _test_float_conversion(im.convert('L')) -def test_12bit(): - im = Image.open('Tests/images/12bit.cropped.tif') +def test_16bit(): + im = Image.open('Tests/images/16bit.cropped.tif') _test_float_conversion(im) -def test_12bit_workaround(): - im = Image.open('Tests/images/12bit.cropped.tif') +def test_16bit_workaround(): + im = Image.open('Tests/images/16bit.cropped.tif') _test_float_conversion(im.convert('I')) diff --git a/Tests/test_numpy.py b/Tests/test_numpy.py index 61b3cf480..7c7003179 100644 --- a/Tests/test_numpy.py +++ b/Tests/test_numpy.py @@ -75,7 +75,7 @@ def _test_img_equals_nparray(img, np): def test_16bit(): - img = Image.open('Tests/images/12bit.cropped.tif') + img = Image.open('Tests/images/16bit.cropped.tif') np_img = numpy.array(img) _test_img_equals_nparray(img, np_img) assert_equal(np_img.dtype, numpy.dtype('