[Checkins] [zopefoundation/zope.browserpage] 7921c2: Accept \r\n line endings in tests

GitHub noreply at github.com
Thu Mar 7 15:44:21 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.browserpage
  Commit: 7921c2976b364a372b4cc0f7f36dd8a2101ff910
      https://github.com/zopefoundation/zope.browserpage/commit/7921c2976b364a372b4cc0f7f36dd8a2101ff910
  Author: Marius Gedminas <marius at gedmin.as>
  Date:   2013-03-07 (Thu, 07 Mar 2013)

  Changed paths:
    M src/zope/browserpage/namedtemplate.txt
    M src/zope/browserpage/tests/test_page.py
    M src/zope/browserpage/tests/test_simpleviewclass.py

  Log Message:
  -----------
  Accept \r\n line endings in tests

I'm not 100% this is the right thing to do.  Perhaps page templates
should normalize OS line endings to \n?





More information about the checkins mailing list