code: def test_strip_links():
      segments = [
          Segment(
              "foo", Style(bold=True, link="https://www.example.org")
          )
      ]
      assert list(Segment.strip_links(segments)) == [
          Segment("foo", Style(bold=True))
      ]
  
imports: from io import StringIO
  import pytest
  from rich.segment import ControlType, Segment, SegmentLines, Segments
  from rich.style import Style
label_desc: Use image node_id 13 for calling a global function with example usage: test_strip_links() without return types