summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()