          display_value = display_for_field(None, models.TimeField())
          self.assertEqual(display_value, EMPTY_CHANGELIST_VALUE)
  
          display_value = display_for_field(None, models.NullBooleanField())
          expected = u'<img src="%simg/admin/icon-unknown.gif" alt="None" />' % settings.ADMIN_MEDIA_PREFIX
          self.assertEqual(display_value, expected)
  
 
</s> remove         self.assertEqual(display_value, EMPTY_CHANGELIST_VALUE)
 </s> add         expected = u'<img src="%simg/admin/icon-unknown.gif" alt="None" />' % settings.ADMIN_MEDIA_PREFIX
        self.assertEqual(display_value, expected)
        # Regression test for #13071: NullBooleanField has special
        # handling.
          display_value = display_for_field(None, models.TimeField())
          self.assertEqual(display_value, EMPTY_CHANGELIST_VALUE)
  
        # Regression test for #13071: NullBooleanField has special
        # handling.
          display_value = display_for_field(None, models.NullBooleanField())
          expected = u'<img src="%simg/admin/icon-unknown.gif" alt="None" />' % settings.ADMIN_MEDIA_PREFIX
          self.assertEqual(display_value, expected)
  
keep keep add keep keep keep keep
 Ensure that NullBooleanField displays the appropriate icon for null values in admin changelists. Refs #13071.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12746 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
tests/regressiontests/admin_util/tests.py