Chris McDonough
2012-02-29 80eac76501836eb73378da55dcb845e46e4dcbad
avoid coping with linefeeds on windows
2 files modified
4 ■■■■ changed files
pyramid/tests/fixtures/static/index.html 2 ●●● patch | view | raw | blame | history
pyramid/tests/test_integration.py 2 ●●● patch | view | raw | blame | history
pyramid/tests/fixtures/static/index.html
@@ -1 +1 @@
<html>static</html>
<html>static</html>
pyramid/tests/test_integration.py
@@ -140,7 +140,7 @@
    def test_range_tilend(self):
        self.testapp.extra_environ = {'HTTP_RANGE':'bytes=-5'}
        res = self.testapp.get('/static/index.html', status=206)
        self.assertEqual(res.body, b'tml>\n')
        self.assertEqual(res.body, b'html>')
    def test_range_notbytes(self):
        self.testapp.extra_environ = {'HTTP_RANGE':'kHz=-5'}