Skip to content
Snippets Groups Projects
Commit 799fe2e6 authored by Vincent Delbar's avatar Vincent Delbar
Browse files

TEST: check output dtype is set in frozen mode

parent 23845245
No related branches found
No related tags found
2 merge requests!108Release 2.0.0,!100Last fixes for multiprocessing usage
Pipeline #13841 failed
......@@ -150,7 +150,8 @@ def test_write():
frozen_app_init_with_outfile = pyotb.BandMath(
INPUT, exp="im1b1", out="/dev/shm/test_frozen_app_write.tif", frozen=True
)
assert frozen_app_init_with_outfile.write()
assert frozen_app_init_with_outfile.write(pixel_type="uint16")
assert frozen_app_init_with_outfile.dtype == "uint16"
frozen_app_init_with_outfile["out"].filepath.unlink()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment