          self.assertEqual(type(u3), MultiPoint)
  
          # Ordering of points in the result of the union is not defined and
          # implementation-dependent (DB backend, GEOS version)
          self.assertSetEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u1})
          self.assertSetEqual({p.ewkt for p in ref_u2}, {p.ewkt for p in u2})
          self.assertSetEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u3})
  
      def test05_select_related_fk_to_subclass(self):
          "Testing that calling select_related on a query over a model with an FK to a model subclass works"
          # Regression test for #9752.
          list(DirectoryEntry.objects.all().select_related())
 
</s> remove         self.assertListEqual([r.__class__.__name__ for r in connection_router.routers], ['TestRouter', 'WriteRouter'])
 </s> add         self.assertEqual([r.__class__.__name__ for r in connection_router.routers], ['TestRouter', 'WriteRouter']) </s> remove         self.assertListEqual([r.__class__.__name__ for r in connection_router.routers], ['TestRouter', 'WriteRouter'])
 </s> add         self.assertEqual([r.__class__.__name__ for r in connection_router.routers], ['TestRouter', 'WriteRouter']) </s> remove         self.assertListEqual([r.__class__.__name__ for r in connection_router.routers], ['TestRouter', 'WriteRouter'])
 </s> add         self.assertEqual([r.__class__.__name__ for r in connection_router.routers], ['TestRouter', 'WriteRouter']) </s> remove         self.assertListEqual(result, toks)
 </s> add         self.assertEqual(result, toks) </s> remove         self.assertMultiLineEqual(prepare_js_for_gettext(js), c)
 </s> add         self.assertEqual(prepare_js_for_gettext(js), c)
        self.assertEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u1})
        self.assertEqual({p.ewkt for p in ref_u2}, {p.ewkt for p in u2})
        self.assertEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u3})
          self.assertEqual(type(u3), MultiPoint)
  
          # Ordering of points in the result of the union is not defined and
          # implementation-dependent (DB backend, GEOS version)
        self.assertEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u1})
        self.assertEqual({p.ewkt for p in ref_u2}, {p.ewkt for p in u2})
        self.assertEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u3})
        self.assertEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u1})
        self.assertEqual({p.ewkt for p in ref_u2}, {p.ewkt for p in u2})
        self.assertEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u3})
        self.assertEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u1})
        self.assertEqual({p.ewkt for p in ref_u2}, {p.ewkt for p in u2})
        self.assertEqual({p.ewkt for p in ref_u1}, {p.ewkt for p in u3})
  
      def test05_select_related_fk_to_subclass(self):
          "Testing that calling select_related on a query over a model with an FK to a model subclass works"
          # Regression test for #9752.
          list(DirectoryEntry.objects.all().select_related())
keep keep keep keep replace replace replace keep keep keep keep keep
 Replaced type-specific assertions with assertEqual().

Python docs say, "it's usually not necessary to invoke these methods directly." 
tests/gis_tests/relatedapp/tests.py