I'm working with some Python 2.6 code that is using the doctest
module for unittests.

I tried adding tests whose code and results required newlines
(\n). Apparently newlines in string constants breaks the doctest
code.

Any workarounds other than using another char for newlines and
wrapping all my strings with .replace( someChar, chr(10) )?

Thanks,
Malcolm
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to