[New-bugs-announce] [issue3955] maybe doctest doesn't understand unicode_literals?
report at bugs.python.org
Wed Sep 24 14:38:22 CEST 2008
New submission from Mark Summerfield <mark at qtrac.eu>:
# This program works fine with Python 2.5 and 2.6:
if __name__ == "__main__":
But if you put the statement "from __future__ import unicode_literals"
at the start then it fails:
File "/tmp/test.py", line 5, in __main__.f
I don't know if it is a bug or a feature but I didn't see any mention of
it in the bugs or docs so thought I'd mention it.
components: Library (Lib)
title: maybe doctest doesn't understand unicode_literals?
versions: Python 2.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce