From 7e032ad2bedb6f6dbbba73e0eb2d9e7aa5a68932 Mon Sep 17 00:00:00 2001 From: "Sean C. Gillies" Date: Wed, 25 Apr 2018 17:18:14 -0600 Subject: [PATCH] Photometric won't be in the profile --- tests/test_plot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,