##// END OF EJS Templates
Preserve function/method identity in magic decorators...
Preserve function/method identity in magic decorators `decorator(call, func)` does `func.__doc__ = call.__doc__` and so on, where `func` is the original function and `call = lambda f, *a, **k: f(*a, **k)`. Because of that ipdoctest is not able to see the function original docstring, leading to missing tests. The resulting wrapper is simply calling the original function and thus is not needed.

File last commit:

r11067:5076556c
r27102:cd387ef6
Show More
nonascii2.py
4 lines | 155 B | text/x-python | PythonLexer
# coding: iso-8859-5
# (Unlikely to be the default encoding for most testers.)
# БЖџрстуфхцчшщъыьэюя <- Cyrillic characters
'Ўт№Ф'