delmic / odemis

Open Delmic Microscope Software
GNU General Public License v2.0
47 stars 39 forks source link

[test] [SWM-145] Fix numpy deprecation warning #2852

Closed tmoerkerken closed 2 months ago

tmoerkerken commented 3 months ago

This PR changes

To exemplify: before the suggested change, the high argument was set to 256, which allows integers above 127 (which is the upper bound of int8). This triggered a warning for the latest Numpy version compatible with Ubuntu 24. Now high is set to 255, which is the upper bound of uint8.