class_docstr: Check the byteorder of unicode arrays in round-trip conversions
class_docstr_tok: ["Check","the","byteorder","of","unicode","arrays","in","round-trip","conversions"]
code: def test_valuesSD(self):
      # Check byteorder of single-dimensional objects
      ua = np.array(
          [self.ucs_value * self.ulen] * 2, dtype="U%s" % self.ulen
      )
      ua2 = ua.newbyteorder()
      assert_((ua != ua2).all())
      assert_(ua[-1] != ua2[-1])
      ua3 = ua2.newbyteorder()
      # Arrays must be equal after the round-trip
      assert_equal(ua, ua3)
  
imports: import pytest
  import numpy
  from numpy.testing import assert_, assert_equal, assert_array_equal
label_desc: Use image node_id 2 for calling the ByteorderValues obj's underlying member method code with example usage: obj.test_valuesSD() without return types