[New-bugs-announce] [issue23043] doctest ignores "from __future__ import print_function"

Vjacheslav report at bugs.python.org
Fri Dec 12 22:28:18 CET 2014


New submission from Vjacheslav:

>>> from __future__ import print_function
>>> print (1,2)
1 2

in interactive session, but, with this 3 lines in tmp.txt:

python -m doctest tmp.txt 

fails (prints tuple)

----------
components: Library (Lib)
messages: 232577
nosy: fva
priority: normal
severity: normal
status: open
title: doctest ignores "from __future__ import print_function"
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23043>
_______________________________________


More information about the New-bugs-announce mailing list