'Ensuring GeoQuery objects are unpickled correctly.  See #10839.'

def test11_geoquery_pickle(self):

    import pickle
    from django.contrib.gis.db.models.sql import GeoQuery
    qs = City.objects.all()
    q_str = pickle.dumps(qs.query)
    q = pickle.loads(q_str)
    self.assertEqual(GeoQuery, q.__class__)
