summaryrefslogtreecommitdiff
path: root/tests/test_autodoc.py
diff options
context:
space:
mode:
authorJonathan Waltman <jonathan.waltman@gmail.com>2013-01-05 08:28:54 -0600
committerJonathan Waltman <jonathan.waltman@gmail.com>2013-01-05 08:28:54 -0600
commit5ab9a2eec106ba1125b92856f86de11b4fe906fc (patch)
treea0820a2096e2cff017c6bab8926c16fbf156d5e0 /tests/test_autodoc.py
parentdbf9b3f1570399a17a4b838f85cccffda152a0bf (diff)
downloadsphinx-5ab9a2eec106ba1125b92856f86de11b4fe906fc.tar.gz
Add basic debugging support for autodoc.
Diffstat (limited to 'tests/test_autodoc.py')
-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 21a3aed6..a93bd718 100644
--- a/tests/test_autodoc.py
+++ b/tests/test_autodoc.py
@@ -386,10 +386,10 @@ def test_generate():
assert_warns("import for autodocumenting 'foobar'",
'function', 'foobar', more_content=None)
# importing
- assert_warns("import/find module 'test_foobar'",
+ assert_warns("failed to import module 'test_foobar'",
'module', 'test_foobar', more_content=None)
# attributes missing
- assert_warns("import/find function 'util.foobar'",
+ assert_warns("failed to import function 'foobar' from module 'util'",
'function', 'util.foobar', more_content=None)
# test auto and given content mixing