Index: test/pydoc_mod.py =================================================================== --- test/pydoc_mod.py (Revision 74316) +++ test/pydoc_mod.py (Arbeitskopie) @@ -1,3 +1,4 @@ +# -*- coding: utf-8 -*- """This is a test module for test_pydoc""" __author__ = "Benjamin Peterson" @@ -23,5 +24,9 @@ war """ +def give_me_an_umlaut(): + u"""Gives you an umlaut. Say, ü?""" + return u'ü' + def nodoc_func(): pass Index: test/test_pydoc.py =================================================================== --- test/test_pydoc.py (Revision 74316) +++ test/test_pydoc.py (Arbeitskopie) @@ -1,3 +1,5 @@ +# -*- coding: utf-8 -*- + import sys import os import os.path @@ -14,7 +16,7 @@ from test import pydoc_mod expected_text_pattern = \ -""" +u""" NAME test.pydoc_mod - This is a test module for test_pydoc @@ -55,6 +57,9 @@ lack of Python war \x20\x20\x20\x20 + give_me_an_umlaut() + Gives you an umlaut. Say, ü? +\x20\x20\x20\x20 nodoc_func() DATA @@ -73,7 +78,7 @@ """.strip() expected_html_pattern = \ -""" +u"""
 
@@ -138,6 +143,7 @@ hunger
lack of Python
war +
give_me_an_umlaut()
Gives you an umlaut. Say, ü?
nodoc_func()