summaryrefslogtreecommitdiff
path: root/tests/root
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-01-04 23:39:13 +0100
committerGeorg Brandl <georg@python.org>2011-01-04 23:39:13 +0100
commitd714e312146fddbd08a4761deae73ea7f2d3b8c0 (patch)
tree13f87dbe22c870af4974083c2d46f5138676bd48 /tests/root
parent9cb059734c1c552ae5045a459a4a2e211d00070b (diff)
downloadsphinx-d714e312146fddbd08a4761deae73ea7f2d3b8c0.tar.gz
#581: Fix traceback in Python domain for empty cross-reference targets.
Diffstat (limited to 'tests/root')
-rw-r--r--tests/root/objects.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/root/objects.txt b/tests/root/objects.txt
index 7b70b062..0b71761e 100644
--- a/tests/root/objects.txt
+++ b/tests/root/objects.txt
@@ -13,6 +13,9 @@ Testing object descriptions
.. function:: func_with_module
:module: foolib
+Referring to :func:`func with no index <func_noindex>`.
+Referring to :func:`nothing <>`.
+
.. module:: mod
:synopsis: Module synopsis.
:platform: UNIX