summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2020-01-12 18:37:53 +0000
committergrubert <grubert@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2020-01-12 18:37:53 +0000
commite63621bf8b13da950a8865abc3a2ff4ab333098f (patch)
tree8f47bca41eeeb9d17dd49fe163aa53549de6c471
parent72eb3e1cf1da0bf2015cb9e3c3cfe6a923ab35ac (diff)
downloaddocutils-e63621bf8b13da950a8865abc3a2ff4ab333098f.tar.gz
add error message
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@8459 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rwxr-xr-xdocutils/test/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docutils/test/test_utils.py b/docutils/test/test_utils.py
index 0f53355eb..855cea39f 100755
--- a/docutils/test/test_utils.py
+++ b/docutils/test/test_utils.py
@@ -319,7 +319,7 @@ class HelperFunctionTests(unittest.TestCase):
# '..\\HISTORY.txt' on windows
# '../HISTORY.txt' on other platforms
# 'HISTORY.txt' if not called from docutils directory.
- self.assertTrue(found.startswith('..'))
+ self.assertTrue(found.startswith('..'), 'HISTORY.txt not found in "..".')
# Return `path` if the file exists in the cwd or if there is no match
self.assertEqual(utils.find_file_in_dirs('alltests.py', dirs),
'alltests.py')