code: def test_deprecation_fa_icons():
      with pytest.deprecated_call() as record:
          Button(icon="fa-home")
      assert len(record) == 1
      assert record[0].filename == inspect.stack(context=0)[1].filename
  
imports: import inspect
  import pytest
  from ipywidgets import Button
label_desc: Use image node_id 1 for calling a global function with example usage: test_deprecation_fa_icons() without return types