summaryrefslogtreecommitdiff
path: root/python/samba/tests/docs.py
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2015-07-23 16:25:45 +0200
committerJeremy Allison <jra@samba.org>2015-07-31 01:55:32 +0200
commita9187359cf7c6052146b0da1c6102a72ba0e94b1 (patch)
tree4b614875c3fbc29dc552f5e40b4c4fa9a672f919 /python/samba/tests/docs.py
parent3de5d2992588a6485e113034a39429c8dfb8fb75 (diff)
downloadsamba-a9187359cf7c6052146b0da1c6102a72ba0e94b1.tar.gz
tests:docs: print more complicated structures than strings in the message.
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'python/samba/tests/docs.py')
-rw-r--r--python/samba/tests/docs.py1
1 files changed, 1 insertions, 0 deletions
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))