From 9999d9aeb63688282a05f7c4c550acda84e99dc5 Mon Sep 17 00:00:00 2001 From: milde Date: Sat, 28 Sep 2013 09:17:07 +0000 Subject: 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 --- HISTORY.txt | 4 ++++ test/test_error_reporting.py | 16 ++-------------- 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() -- cgit v1.2.1