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

Added docstring.

Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <>
parent f25d499e
Pipeline #25491 passed with stages
in 15 minutes and 5 seconds
......@@ -103,6 +103,7 @@ class Test_GeoArray(TestCase):
def test_shape_is_updated(self, _, gA):
"""Test if shape attribute gets properly updated if the full array is replaced with one with another shape."""
gA.arr = np.random.randint(1, 10, (gA.shape[0], ))
self.assertEqual((gA.shape[0],), gA.shape, 'Shape attribute was not correctly updated.')
self.assertEqual((gA.shape[0],), gA._shape, 'Private shape attribute was not correctly updated.')
Supports Markdown
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