[issue1274] doctest fails to run file based tests with 8bit paths

Sean Reifschneider report at bugs.python.org
Tue Mar 18 03:40:39 CET 2008


Sean Reifschneider <jafo at tummy.com> added the comment:

This may be fixed already, or a bug in FC4.  Or perhaps you could
provide more information on how the bug is invoked.  I was able to
successfully execute a doctest with "\xee" in the path on an F8 box:

Python 2.5.1 (r251:54863, Oct 30 2007, 13:54:11) 
[GCC 4.1.2 20070925 (Red Hat 4.1.2-33)] on linux2

Also: Please do not quote text in the reply.
Type "help", "copyright", "credits" or "license" for more information.
>>> import doctest
>>> doctest.testfile('foo\xeebar/test.txt')
(0, 1)
>>> 
guin:pytest$ cat fo*/test.txt
The ``example`` module
======================

Using ``print``
-------------------

This is a test example.

   >>> print 'Hello world!'
   Hello world!

----------
nosy: +jafo

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1274>
__________________________________


More information about the Python-bugs-list mailing list