              self.assertIsInstance(country.envelope, Polygon)
  
      @skipUnlessDBFeature("has_ForceRHR_function")
      @ignore_warnings(category=RemovedInDjango30Warning)
      def test_force_rhr(self):
          rings = (
 
</s> remove         unsupported = {'BoundingCircle', 'ForceRHR', 'MemSize'}
 </s> add         unsupported = {'BoundingCircle', 'ForcePolygonCW', 'ForceRHR', 'MemSize'}
    @skipUnlessDBFeature("has_ForcePolygonCW_function")
    def test_force_polygon_cw(self):
        rings = (
            ((0, 0), (5, 0), (0, 5), (0, 0)),
            ((1, 1), (1, 3), (3, 1), (1, 1)),
        )
        rhr_rings = (
            ((0, 0), (0, 5), (5, 0), (0, 0)),
            ((1, 1), (3, 1), (1, 3), (1, 1)),
        )
        State.objects.create(name='Foo', poly=Polygon(*rings))
        st = State.objects.annotate(force_polygon_cw=functions.ForcePolygonCW('poly')).get(name='Foo')
        self.assertEqual(rhr_rings, st.force_polygon_cw.coords)

              self.assertIsInstance(country.envelope, Polygon)
  
    @skipUnlessDBFeature("has_ForcePolygonCW_function")
    def test_force_polygon_cw(self):
        rings = (
            ((0, 0), (5, 0), (0, 5), (0, 0)),
            ((1, 1), (1, 3), (3, 1), (1, 1)),
        )
        rhr_rings = (
            ((0, 0), (0, 5), (5, 0), (0, 0)),
            ((1, 1), (3, 1), (1, 3), (1, 1)),
        )
        State.objects.create(name='Foo', poly=Polygon(*rings))
        st = State.objects.annotate(force_polygon_cw=functions.ForcePolygonCW('poly')).get(name='Foo')
        self.assertEqual(rhr_rings, st.force_polygon_cw.coords)

      @skipUnlessDBFeature("has_ForceRHR_function")
      @ignore_warnings(category=RemovedInDjango30Warning)
      def test_force_rhr(self):
          rings = (
keep add keep keep keep keep
 Fixed #28841 -- Added ForcePolygonCW GIS function and deprecated ForceRHR. 
tests/gis_tests/geoapp/test_functions.py