class_docstr: Test Buffer Point/Line/Polygon with and without single_sided params
class_docstr_tok: ["Test","Buffer","Point\/Line\/Polygon","with","and","without","single_sided","params"]
code: def test_line_single_sideded_right(self):
      g = geometry.LineString([[0, 0], [0, 1]])
      h = g.buffer(-1, quad_segs=1, single_sided=True)
      assert h.geom_type == "Polygon"
      expected_coord = [
          (0.0, 0.0),
          (0.0, 1.0),
          (1.0, 1.0),
          (1.0, 0.0),
          (0.0, 0.0),
      ]
      for index, coord in enumerate(h.exterior.coords):
          assert coord[0] == pytest.approx(expected_coord[index][0])
          assert coord[1] == pytest.approx(expected_coord[index][1])
  
imports: import unittest
  import pytest
  from shapely import geometry
  from shapely.constructive import BufferCapStyle, BufferJoinStyle
  from shapely.geometry.base import CAP_STYLE, JOIN_STYLE
label_desc: Use image node_id 6 for calling the BufferTests obj's underlying member method code with example usage: obj.test_line_single_sideded_right() without return types