Ticket #21268: E303.diff

File E303.diff, 1.0 KB (added by Tim Graham, 11 years ago)
  • tests/http_utils/tests.py

    diff --git a/tests/http_utils/tests.py b/tests/http_utils/tests.py
    index 6e26134..9105e64 100644
    a b class HttpUtilTests(TestCase):  
    5959        conditional_content_removal(req, res)
    6060        self.assertEqual(b''.join(res), b'')
    6161
    62 
    6362        # Strip content for HEAD requests.
    6463        req.method = 'HEAD'
    6564
  • tests/i18n/tests.py

    diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py
    index dc6c2ea..fec519a 100644
    a b class TranslationTests(TransRealMixin, TestCase):  
    262262            self.assertRaises(TemplateSyntaxError, Template, '{% load i18n %}{% blocktrans context %}{% endblocktrans %}')
    263263            self.assertRaises(TemplateSyntaxError, Template, '{% load i18n %}{% blocktrans count number=2 context %}{{ number }} super result{% plural %}{{ number }} super results{% endblocktrans %}')
    264264
    265 
    266265    def test_string_concat(self):
    267266        """
    268267        six.text_type(string_concat(...)) should not raise a TypeError - #4796
Back to Top