diff --git a/tests/test_plot.py b/tests/test_plot.py index ab352a95..50b44c86 100644 --- a/tests/test_plot.py +++ b/tests/test_plot.py @@ -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,