  
          Food = new_apps.get_model("migrations", "Food")
          self.assertEqual([mgr.name for mgr in Food._meta.managers],
                           ['default', 'food_mgr1', 'food_mgr2'])
          self.assertTrue(all(isinstance(mgr.name, six.text_type) for mgr in Food._meta.managers))
          self.assertEqual([mgr.__class__ for mgr in Food._meta.managers],
                           [models.Manager, FoodManager, FoodManager])
  
      def test_render_model_inheritance(self):
          class Book(models.Model):
 
</s> remove         self.assertTrue(all(isinstance(name, six.text_type) for name, mgr in food_order_manager_state.managers))
 </s> add         self.assertTrue(all(isinstance(name, str) for name, mgr in food_order_manager_state.managers)) </s> remove         lst2 = [[six.text_type(book) for book in author.books_with_year.all()] for author in qs]
 </s> add         lst2 = [[str(book) for book in author.books_with_year.all()] for author in qs] </s> remove         lst2 = [[six.text_type(author) for author in book.aged_authors.all()] for book in qs]
 </s> add         lst2 = [[str(author) for author in book.aged_authors.all()] for book in qs] </s> remove             lst = [[six.text_type(book) for book in author.books_with_year.all()] for author in qs]
 </s> add             lst = [[str(book) for book in author.books_with_year.all()] for author in qs] </s> remove             lst = [[six.text_type(author) for author in book.aged_authors.all()] for book in qs]
 </s> add             lst = [[str(author) for author in book.aged_authors.all()] for book in qs]
        self.assertTrue(all(isinstance(mgr.name, str) for mgr in Food._meta.managers))
  
          Food = new_apps.get_model("migrations", "Food")
          self.assertEqual([mgr.name for mgr in Food._meta.managers],
                           ['default', 'food_mgr1', 'food_mgr2'])
        self.assertTrue(all(isinstance(mgr.name, str) for mgr in Food._meta.managers))
          self.assertEqual([mgr.__class__ for mgr in Food._meta.managers],
                           [models.Manager, FoodManager, FoodManager])
  
      def test_render_model_inheritance(self):
          class Book(models.Model):
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed six.<various>_types usage

Thanks Tim Graham and Simon Charette for the reviews. 
tests/migrations/test_state.py