code: def test_composite_copy():
      """Tests no infinite recursion is happening"""
      composite = Composite((MockComponent1(), MockComponent2()))
      copy(composite)
      deepcopy(composite)
  
file_path: icevision/tests/core/test_composite.py
imports: import pytest
  from icevision.all import *
label_desc: Use image node_id 2 for calling a global function with example usage: test_composite_copy() without return types