commit 500558ca54285986b360a69241e5a7adcde7be11
Author: Tom Hughes <tom@compton.nu>
Date: Tue Jun 20 08:45:04 2017 +0100
Make test_tiff_rgba8_compare_tiled use a unique temporary file
Fixes #152
diff --git a/test/python_tests/image_tiff_test.py b/test/python_tests/image_tiff_test.py
index a924b27..b1915c1 100644
--- a/test/python_tests/image_tiff_test.py
+++ b/test/python_tests/image_tiff_test.py
@@ -256,7 +256,7 @@ def test_tiff_rgba8_compare_stripped():
def test_tiff_rgba8_compare_tiled():
filepath1 = '../data/tiff/ndvi_256x256_rgba8_striped.tif'
- filepath2 = '/tmp/mapnik-tiff-rgba8-stripped.tiff'
+ filepath2 = '/tmp/mapnik-tiff-rgba8-tiled.tiff'
im = mapnik.Image.open(filepath1)
im.save(filepath2, 'tiff:method=tiled')
im2 = mapnik.Image.open(filepath2)