summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-07 15:19:36 +0100
committerGeorg Brandl <georg@python.org>2014-11-07 15:19:36 +0100
commit582e2c694bc7fdaa127cd7e58ca564c7d218aef3 (patch)
treed0d25f31e3d738c3b4bfe7f60a45da9d941a9753
parent66dab2b56b51ac1cabd8e3962b183d6101cf4f7e (diff)
downloadsphinx-582e2c694bc7fdaa127cd7e58ca564c7d218aef3.tar.gz
Py3 fix.
-rw-r--r--tests/test_autodoc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py
index 96e46196..0025170f 100644
--- a/tests/test_autodoc.py
+++ b/tests/test_autodoc.py
@@ -155,7 +155,7 @@ def test_format_signature():
inst.args = args
inst.retann = retann
res = inst.format_signature()
- print res
+ print(res)
return res
# no signatures for modules
@@ -255,7 +255,7 @@ def test_get_doc():
ds = inst.get_doc(encoding)
# for testing purposes, concat them and strip the empty line at the end
res = sum(ds, [])[:-1]
- print res
+ print(res)
return res
# objects without docstring