docstr: Test equals predicate functions correctly regardless of the order
  of the inputs. See issue #317.
docstr_tok: ["Test","equals","predicate","functions","correctly","regardless","of","the","order","of","the","inputs",".","See","issue","#","317","."]
code: def test_equals_argument_order(self):
      """
      Test equals predicate functions correctly regardless of the order
      of the inputs. See issue #317.
      """
      coords = ((0, 0), (1, 0), (1, 1), (0, 0))
      ls = LineString(coords)
      lr = LinearRing(coords)
  
      assert (
          ls.__eq__(lr) is False
      )  # previously incorrectly returned True
      assert lr.__eq__(ls) is False
      assert (ls == lr) is False
      assert (lr == ls) is False
  
      ls_clone = LineString(coords)
      lr_clone = LinearRing(coords)
  
      assert ls.__eq__(ls_clone) is True
      assert lr.__eq__(lr_clone) is True
      assert (ls == ls_clone) is True
      assert (lr == lr_clone) is True
  
imports: import numpy
  import pytest
  import shapely
  from shapely import LinearRing, LineString, Point
  from shapely.coords import CoordinateSequence
label_desc: Use image node_id 3 for calling the TestLineString obj's underlying member method code with example usage: obj.test_equals_argument_order() without return types