code: def test_widget_copy():
      button = Button()
      with pytest.raises(NotImplementedError):
          copy.copy(button)
      with pytest.raises(NotImplementedError):
          copy.deepcopy(button)
  
file_path: catboost/contrib/python/ipywidgets/py3/ipywidgets/widgets/tests/test_widget.py
imports: import inspect
  import pytest
  from IPython.core.interactiveshell import InteractiveShell
  from IPython.display import display
  from IPython.utils.capture import capture_output
  from ipywidgets.widgets import widget
  from ipywidgets.widgets.widget import Widget
  from ipywidgets.widgets.widget_button import Button
  import copy
label_desc: Use image node_id 5 for calling a global function with example usage: test_widget_copy() without return types