  
          # Make sure slicing the Page object with numbers and slice objects work.
          self.assertEqual(p[0], Article.objects.get(headline='Article 1'))
          self.assertQuerysetEqual(p[slice(2)], [
                  "<Article: Article 1>",
                  "<Article: Article 2>",
          ]
          )
          # After __getitem__ is called, object_list is a list
          self.assertIsInstance(p.object_list, list)
 
</s> remove                 "<Article: Article 1>",
                "<Article: Article 2>",
                "<Article: Article 3>",
                "<Article: Article 4>",
                "<Article: Article 5>"
 </s> add             "<Article: Article 1>",
            "<Article: Article 2>",
            "<Article: Article 3>",
            "<Article: Article 4>",
            "<Article: Article 5>" </s> remove                 "<Article: Article 6>",
                "<Article: Article 7>",
                "<Article: Article 8>",
                "<Article: Article 9>"
 </s> add             "<Article: Article 6>",
            "<Article: Article 7>",
            "<Article: Article 8>",
            "<Article: Article 9>" </s> remove                     "<Article: John's second story>",
                    "<Article: Paul's story>",
                    "<Article: This is a test>",
 </s> add                 "<Article: John's second story>",
                "<Article: Paul's story>",
                "<Article: This is a test>", </s> remove                         reporter__in=Reporter.objects.filter(first_name='John').values('pk').query
                    ).distinct(),
 </s> add                 reporter__in=Reporter.objects.filter(first_name='John').values('pk').query
            ).distinct(), </s> remove                     {'name': force_text(opts.verbose_name), 'key': escape(object_id)}
 </s> add                 {'name': force_text(opts.verbose_name), 'key': escape(object_id)}
            "<Article: Article 1>",
            "<Article: Article 2>",
  
          # Make sure slicing the Page object with numbers and slice objects work.
          self.assertEqual(p[0], Article.objects.get(headline='Article 1'))
          self.assertQuerysetEqual(p[slice(2)], [
            "<Article: Article 1>",
            "<Article: Article 2>",
            "<Article: Article 1>",
            "<Article: Article 2>",
          ]
          )
          # After __getitem__ is called, object_list is a list
          self.assertIsInstance(p.object_list, list)
keep keep keep keep replace replace keep keep keep keep
 Fixed #21288 -- Fixed E126 pep8 warnings 
tests/pagination/tests.py