diff --git a/tests/plantcv/visualize/test_tile.py b/tests/plantcv/visualize/test_tile.py index f1c719212..5f88c9fcf 100644 --- a/tests/plantcv/visualize/test_tile.py +++ b/tests/plantcv/visualize/test_tile.py @@ -5,12 +5,12 @@ def test_tile(visualize_test_data): """Test for PlantCV.""" - pcv.params.debug = "plot" # Read in image list images = [] - for i in os.listdir(visualize_test_data.tile_dir): - images.append(pcv.readimage(visualize_test_data.tile_dir+i)[0]) - images.sort + paths = [visualize_test_data.tile_dir+i for i in visualize_test_data.tile_dir] + paths.sort + for i in paths: + images.append(pcv.readimage(i)[0]) composite = tile(images=images, nrow=2, ncol=3) query_img, _, _ = pcv.readimage(visualize_test_data.tile_out) assert (composite == query_img).all() \ No newline at end of file