summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2013-09-28 09:17:07 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2013-09-28 09:17:07 +0000
commit9999d9aeb63688282a05f7c4c550acda84e99dc5 (patch)
treec57a8258752da44acc73028ed8fc870d8e15bff6
parent63a32e3995416c00279e71bdc86c7db154016061 (diff)
downloaddocutils-9999d9aeb63688282a05f7c4c550acda84e99dc5.tar.gz
Fix [ 223 ] by removing redundant tests we do not have control over.
git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@7723 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r--HISTORY.txt4
-rw-r--r--test/test_error_reporting.py16
2 files changed, 6 insertions, 14 deletions
diff --git a/HISTORY.txt b/HISTORY.txt
index e835d7074..c519ea310 100644
--- a/HISTORY.txt
+++ b/HISTORY.txt
@@ -24,6 +24,10 @@ Changes Since 0.11
- Apply patch by Jakub Wilk to fix bug [ 100 ].
+* test/test_error_reporting.py
+
+ - Fix [ 223 ] by removing redundant tests we do not have control over.
+
Release 0.11 (2013-07-22)
=========================
diff --git a/test/test_error_reporting.py b/test/test_error_reporting.py
index d5c223451..67bfd48ac 100644
--- a/test/test_error_reporting.py
+++ b/test/test_error_reporting.py
@@ -285,8 +285,8 @@ class ErrorReportingTests(unittest.TestCase):
ensure that the correct exception is thrown.
"""
- # These tests fail with a 'problematic locale' and
- # (revision < 7035) and Python-2.
+ # These tests fail with a 'problematic locale',
+ # Docutils revision < 7035, and Python 2:
parser = parsers.rst.Parser()
"""Parser shared by all ParserTestCases."""
@@ -317,23 +317,11 @@ class ErrorReportingTests(unittest.TestCase):
self.assertRaises(utils.SystemMessage,
self.parser.parse, source, self.document)
- def test_raw_url(self):
- source = ('.. raw:: html\n'
- ' :url: http://bogus.html\n')
- self.assertRaises(utils.SystemMessage,
- self.parser.parse, source, self.document)
-
def test_csv_table(self):
source = ('.. csv-table:: external file\n'
' :file: bogus.csv\n')
self.assertRaises(utils.SystemMessage,
self.parser.parse, source, self.document)
- def test_csv_table_url(self):
- source = ('.. csv-table:: external URL\n'
- ' :url: ftp://bogus.csv\n')
- self.assertRaises(utils.SystemMessage,
- self.parser.parse, source, self.document)
-
if __name__ == '__main__':
unittest.main()