code: def test_simple_known(self):
      # Ticket #1458
      for order in ["C", "F"]:
          A = np.array([[2, 1], [0, 1.0]], order=order)
          LU, P = lu_factor(A)
          assert_allclose(LU, np.array([[2, 1], [0, 1]]))
          assert_array_equal(P, np.array([0, 1]))
  
imports: import pytest
  from pytest import raises
  import numpy
  from scipy.linalg import lu, lu_factor, lu_solve, get_lapack_funcs, solve
  from numpy.testing import assert_allclose, assert_array_equal
label_desc: Use image node_id 10 for calling the TestLUFactor obj's underlying member method code with example usage: obj.test_simple_known() without return types