Skip to content
  • Martin Pitt's avatar
    Fix tests for Python 3 · 16fbb17a
    Martin Pitt authored
    cmp() does not exist any more in Python 3, replace with comparison operators.
    
    GIMarshallingTests.array_in_nonzero_nonlen() expects a guint8 array, so we
    can't pass a str (which is an Unicode object in Python 3). Pass a byte array
    instead.
    16fbb17a