code: def test_get_init_arguments_exclude_nonexistent_arg(capfd):
      expected = {"var_1": "greetings", "var_2": 12345, "var_3": "yes"}
  
      class TestClass:
          def __init__(self, var_1, var_2=2468, **kwargs):
              super().__init__()
  
              self.actual = get_init_arguments(
                  exclude=["var_4"], verbose=True
              )
  
      actual = TestClass("greetings", 12345, var_3="yes").actual
  
      assert actual == expected
  
      out, _ = capfd.readouterr()
      assert (
          "Key var_4 not found in ``init_args`` and will be ignored."
          in out
      )
  
imports: import copy
  from unittest import mock
  import numpy
  import pandas
  import pytest
  from collie.utils import convert_to_implicit, create_ratings_matrix, df_to_html, df_to_interactions, get_init_arguments, remove_users_with_fewer_than_n_interactions, Timer
label_desc: Use image node_id 13 for calling a global function with example usage: test_get_init_arguments_exclude_nonexistent_arg(capfd) without return types