  from django.contrib.contenttypes.models import ContentType
  from django.test import TestCase
  
  from .models import (TaggedItem, ValuableTaggedItem, Comparison, Animal,
      Vegetable, Mineral, Gecko, Rock)
  
  
  class GenericRelationsTests(TestCase):
      def test_generic_relations(self):
          # Create the world in 7 lines of code...
 
</s>
    Vegetable, Mineral, Gecko, Rock, ManualPK)
  from django.contrib.contenttypes.models import ContentType
  from django.test import TestCase
  
  from .models import (TaggedItem, ValuableTaggedItem, Comparison, Animal,
    Vegetable, Mineral, Gecko, Rock, ManualPK)
  
  
  class GenericRelationsTests(TestCase):
      def test_generic_relations(self):
          # Create the world in 7 lines of code...
keep keep keep keep replace keep keep keep keep keep
 Fixed #19939 -- generic relations + split_exclude regression

Added a test, the issue was already fixed (likely by the patch
for #19385).
tests/generic_relations/tests.py