code: def test_linearrings(self):
      rings = self.nybb.explode(index_parts=True).exterior
      m = rings.explore()
      out_str = self._fetch_map_string(m)
  
      assert out_str.count("LineString") == len(rings)
  
imports: import geopandas
  import numpy
  import pandas
  import pytest
  import shapely
  from packaging.version import Version
  from matplotlib import cm
  from matplotlib import colors
  from branca.colormap import StepColormap
label_desc: Use image node_id 30 for calling the TestExplore obj's underlying member method code with example usage: obj.test_linearrings() without return types