1. Yang Fanxin
  2. CherryPy


Jason R. Coombs  committed c14fe62

Patch test so that it still matches the expected output, even when spaces are elided from otherwise blank lines in the source.

  • Participants
  • Parent commits c5481a2
  • Branches cherrypy-3.2.x

Comments (0)

Files changed (1)

File cherrypy/test/test_tutorials.py

View file
  • Ignore whitespace
+        # the tutorial has some annoying spaces in otherwise blank lines
+        msg = msg.replace('</h2>\n\n', '</h2>\n        \n')
+        msg = msg.replace('</p>\n\n', '</p>\n        \n')