Commit eb2e2ee2 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Bugfix

parent ffb64967
Pipeline #1484 passed with stages
in 1 minute and 1 second
......@@ -34,7 +34,7 @@ import time
import unittest
from unittest import TestLoader
import matplotlib
from typing import Generator
from typing import Iterable
# Imports regarding the created python module.
from py_tools_ds.geo.vector import geometry
......@@ -421,7 +421,7 @@ class Test_GeoarrayFunctions(unittest.TestCase):
def test_tiles(self):
tiles = self.testtiff.tiles(tilesize=(50, 50))
self.assertIsInstance(tiles, Generator)
self.assertIsInstance(tiles, Iterable)
for ((rS, rE), (cS, cE)), tile in tiles:
self.assertTrue(np.array_equal(tile, self.testtiff[rS: rE + 1, cS: cE + 1]))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment