class_docstr: This class tests the basic functionality of the Python bindings.
class_docstr_tok: ["This","class","tests","the","basic","functionality","of","the","Python","bindings","."]
docstr: Test that we can pass a vector of ints and get back that same vector but
  with the last element removed.
docstr_tok: ["Test","that","we","can","pass","a","vector","of","ints","and","get","back","that","same","vector","but","with","the","last","element","removed","."]
code: def testIntVector(self):
      """
      Test that we can pass a vector of ints and get back that same vector but
      with the last element removed.
      """
      x = [1, 2, 3, 4, 5]
  
      output = test_python_binding(
          string_in="hello",
          int_in=12,
          double_in=4.0,
          mat_req_in=[[1.0]],
          col_req_in=[1.0],
          vector_in=x,
      )
  
      self.assertEqual(output["vector_out"], [1, 2, 3, 4])
  
imports: import unittest
  import pandas
  import numpy
  import copy
  from mlpack.test_python_binding import test_python_binding
label_desc: Use image node_id 39 for calling the TestPythonBinding obj's underlying member method code with example usage: obj.testIntVector() without return types