Public bug reported:

Skimage's autopkgtests fail only on s390x with the following error after
moving to pytest8.2:

448s =================================== FAILURES 
===================================
448s ______________________________ test_imread_handle 
______________________________
448s 
448s     def test_imread_handle():
448s         expected = np.load(fetch('data/chessboard_GRAY_U8.npy'))
448s         with open(fetch('data/chessboard_GRAY_U16.tif'), 'rb') as fh:
448s             img = imread(fh)
448s >       assert img.dtype == np.uint16
448s E       AssertionError: assert dtype('<u2') == <class 'numpy.uint16'>
448s E        +  where dtype('<u2') = array([[255, 255, 255, ...,   0,   0,   
0],\n       [255, 255, 255, ...,   0,   0,   0],\n       [255, 255, 255, ...,   
0,   0,   0],\n       ...,\n       [  0,   0,   0, ..., 255, 255, 255],\n       
[  0,   0,   0, ..., 255, 255, 255],\n       [  0,   0,   0, ..., 255, 255, 
255]], dtype='<u2').dtype
448s E        +  and   <class 'numpy.uint16'> = np.uint16
448s 
448s /usr/lib/python3/dist-packages/skimage/io/tests/test_tifffile.py:48: 
AssertionError

** Affects: skimage (Ubuntu)
     Importance: Undecided
     Assignee: Chris Peterson (cpete)
         Status: New

** Affects: skimage (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: update-excuse

** Bug watch added: Debian Bug tracker #1071782
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071782

** Also affects: skimage (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1071782
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2068531

Title:
  skimage/0.22.0-3ubuntu1 vs pytest/8.2.1-2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/skimage/+bug/2068531/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to