Photometric won't be in the profile

This commit is contained in:
Sean C. Gillies 2018-04-25 17:18:14 -06:00
parent 9f1fea66be
commit 7e032ad2be

View File

@ -60,7 +60,7 @@ def test_show_cmyk_interp(tmpdir):
meta['count'] = 4
tiffname = str(tmpdir.join('foo.tif'))
with rasterio.open(tiffname, 'w', **meta) as dst:
assert dst.profile['photometric'] == 'cmyk'
assert dst.kwds['photometric'] == 'cmyk'
assert dst.colorinterp == (
ColorInterp.cyan,
ColorInterp.magenta,