class_docstr: Tests of PyArray_OrderConverter 
class_docstr_tok: ["Tests","of","PyArray_OrderConverter"]
code: def test_flatten_invalid_order(self):
      # invalid after gh-14596
      with pytest.raises(ValueError):
          self.conv("Z")
      for order in [False, True, 0, 8]:
          with pytest.raises(TypeError):
              self.conv(order)
  
imports: import re
  import sys
  import pytest
  import numpy
  import numpy.core._multiarray_tests
  from numpy.testing import assert_warns, IS_PYPY
label_desc: Use image node_id 2 for calling the TestOrderConverter obj's underlying member method code with example usage: obj.test_flatten_invalid_order() without return types