From: Michael Adam Date: Thu, 23 Jul 2015 14:25:45 +0000 (+0200) Subject: tests:docs: print more complicated structures than strings in the message. X-Git-Tag: talloc-2.1.4~485 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9187359cf7c6052146b0da1c6102a72ba0e94b1;p=thirdparty%2Fsamba.git tests:docs: print more complicated structures than strings in the message. Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- diff --git a/python/samba/tests/docs.py b/python/samba/tests/docs.py index 4e5f1fccbdc..ab105e03a37 100644 --- a/python/samba/tests/docs.py +++ b/python/samba/tests/docs.py @@ -31,6 +31,7 @@ class TestCase(samba.tests.TestCaseInTempDir): def _format_message(self, parameters, message): parameters = list(parameters) + parameters = map(str, parameters) parameters.sort() return message + '\n\n %s' % ('\n '.join(parameters))