[issue3979] Doctest failing when it should pass

2008-09-26 Thread Georg Brandl
Georg Brandl <[EMAIL PROTECTED]> added the comment: You need to make your docstring a unicode string. Then both tests work for me. -- nosy: +georg.brandl resolution: -> works for me status: open -> closed ___ Python tracker <[EMAIL PROTECTED]>

[issue3979] Doctest failing when it should pass

2008-09-26 Thread J. Pablo Fernández
New submission from J. Pablo Fernández <[EMAIL PROTECTED]>: The attached file contains a function and two tests for it which are essentially the same. One is a doctest and the other is a TestCase. The doctest fails and I believe it shouldn't. Here's what I get: $ python failingdoctest.py *