code: def test_almost_equals():
      p1 = Point(1.0, 1.0)
      p2 = Point(1.1, 1.1)
      assert not p1.equals(p2)
      with pytest.warns(ShapelyDeprecationWarning):
          assert p1.almost_equals(p2, 0)
      with pytest.warns(ShapelyDeprecationWarning):
          assert not p1.almost_equals(p2, 1)
  
imports: import pytest
  from shapely import Point, Polygon
  from shapely.errors import ShapelyDeprecationWarning
label_desc: Use image node_id 3 for calling a global function with example usage: test_almost_equals() without return types