Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Daniel Scheffler
geoarray
Commits
d43f0b99
Commit
d43f0b99
authored
May 08, 2021
by
Daniel Scheffler
Browse files
Fixed test.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
7cc59f6b
Pipeline
#22806
passed with stages
in 2 minutes and 26 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/test_geoarray.py
View file @
d43f0b99
...
...
@@ -147,8 +147,7 @@ class Test_GeoArray(TestCase):
GeoArray
(
np
.
array
([
1
,
2
]).
astype
(
np
.
uint8
),
nodata
=
256
)
# test float nodata value together with integer array data type
with
self
.
assertRaises
(
ValueError
):
GeoArray
(
np
.
array
([
1
,
2
]).
astype
(
np
.
uint8
),
nodata
=
0.
)
GeoArray
(
np
.
array
([
1
,
2
]).
astype
(
np
.
uint8
),
nodata
=
0.
)
@
parameterized
.
expand
(
_get_gA_inMem_notInMem
())
def
test_calc_mask_nodata
(
self
,
_
,
gA
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment