Terry J. Reedy added the comment: I presume a test could detect docstring stripping with
def f(): 'docstring' if f.__doc__ is None: <skip test that expects them> This would cover the test_functools case, but I don't know about the others. ---------- nosy: +terry.reedy _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19535> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com