[Checkins] SVN: zope.app.pythonpage/trunk/src/zope/app/pythonpage/__init__.py Fix test failure: I get "offset 18" on my Linux box. Unix vs DOS line endings?

Marius Gedminas marius at pov.lt
Mon Sep 24 10:09:04 EDT 2007


Log message for revision 79877:
  Fix test failure: I get "offset 18" on my Linux box.  Unix vs DOS line endings?
  
  

Changed:
  U   zope.app.pythonpage/trunk/src/zope/app/pythonpage/__init__.py

-=-
Modified: zope.app.pythonpage/trunk/src/zope/app/pythonpage/__init__.py
===================================================================
--- zope.app.pythonpage/trunk/src/zope/app/pythonpage/__init__.py	2007-09-24 13:30:46 UTC (rev 79876)
+++ zope.app.pythonpage/trunk/src/zope/app/pythonpage/__init__.py	2007-09-24 14:09:03 UTC (rev 79877)
@@ -141,7 +141,8 @@
       ...     pp.setSource(u"'''<html>..</html>") #'''"
       ... except SyntaxError, err:
       ...     print_err(err)
-      EOF while scanning triple-quoted string, /pp, line 1, offset 19
+      ... # doctest: +ELLIPSIS
+      EOF while scanning triple-quoted string, /pp, line 1, offset ...
 
       >>> try:
       ...     pp.setSource(u"prin 'hello'")



More information about the Checkins mailing list