          with tempfile.NamedTemporaryFile(mode='w', suffix='.json') as tmp:
              tmp.write(result)
              tmp.seek(0)
              call_command('loaddata', tmp.name, verbosity=0)
          self.assertListEqual(original_data, list(City.objects.all().order_by('name')))
  
      @skipUnlessDBFeature("supports_empty_geometries")
      def test_empty_geometries(self):
          geometry_classes = [
              Point,
 
</s> remove         self.assertSequenceEqual(list(Event.objects.raw('SELECT * FROM timezones_event WHERE dt = %s', [dt])), [event])
 </s> add         self.assertEqual(list(Event.objects.raw('SELECT * FROM timezones_event WHERE dt = %s', [dt])), [event]) </s> remove         test_routers = (object(),)
 </s> add         test_routers = [object()] </s> remove         self.assertSequenceEqual(set(searched), {self.verse1, self.verse2})
 </s> add         self.assertEqual(set(searched), {self.verse1, self.verse2}) </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.assertSequenceEqual(set(searched), {self.verse1, self.verse2, self.verse0})
 </s> add         self.assertEqual(set(searched), {self.verse1, self.verse2, self.verse0})
        self.assertEqual(original_data, list(City.objects.all().order_by('name')))
          with tempfile.NamedTemporaryFile(mode='w', suffix='.json') as tmp:
              tmp.write(result)
              tmp.seek(0)
              call_command('loaddata', tmp.name, verbosity=0)
        self.assertEqual(original_data, list(City.objects.all().order_by('name')))
  
      @skipUnlessDBFeature("supports_empty_geometries")
      def test_empty_geometries(self):
          geometry_classes = [
              Point,
keep keep keep keep 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/geoapp/tests.py