Testing Docutils 0.4 [release] with Python 2.5 on 2007-03-29 at 10:22:37 Working directory: /var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test Docutils package: /var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/docutils ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... test_parsers/test_rst/test_directives/test_images.py: totest['images'][18]; test_parser (DocutilsTestSupport.ParserTestCase) input: .. image:: picture.png :scale: fifty -: expected +: output Error in "image" directive: invalid option value: (option: "scale"; value: 'fifty') - invalid literal for int(): fifty. + invalid literal for int() with base 10: 'fifty'. ? +++++++++++++ + + .. image:: picture.png :scale: fifty F............................................................................................................ test_parsers/test_rst/test_directives/test_contents.py: totest['contents'][8]; test_parser (DocutilsTestSupport.ParserTestCase) input: .. contents:: :depth: two -: expected +: output Error in "contents" directive: invalid option value: (option: "depth"; value: 'two') - invalid literal for int(): two. + invalid literal for int() with base 10: 'two'. ? +++++++++++++ + + .. contents:: :depth: two F...................... test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][0]; test_parser (DocutilsTestSupport.ParserTestCase) input: .. csv-table:: inline with integral header :widths: 10, 20, 30 :header-rows: 1 :stub-columns: 1 "Treat", "Quantity", "Description" "Albatross", 2.99, "On a stick!" "Crunchy Frog", 1.49, "If we took the bones out, it wouldn't be crunchy, now would it?" "Gannet Ripple", 1.99, "On a stick!" -: expected +: output inline with integral header <tgroup cols="3"> <colspec colwidth="10" stub="1"> <colspec colwidth="20"> <colspec colwidth="30"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <paragraph> Description <tbody> <row> <entry> <paragraph> Albatross <entry> <paragraph> 2.99 <entry> <paragraph> On a stick! <row> <entry> <paragraph> Crunchy Frog <entry> <paragraph> 1.49 <entry> <paragraph> - If we took the bones out, it wouldn't be + If we took the bones out, it wouldn't becrunchy, now would it? ? ++++++++++++++++++++++ - crunchy, now would it? <row> <entry> <paragraph> Gannet Ripple <entry> <paragraph> 1.99 <entry> <paragraph> On a stick! F. test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][2]; test_parser (DocutilsTestSupport.ParserTestCase) input: .. csv-table:: complex internal structure :header: "Treat", Quantity, " * Description, * Definition, or * Narrative" " * Ice cream * Sorbet * Albatross", 2.99, "On a stick!" -: expected +: output <document source="test data"> <table> <title> complex internal structure <tgroup cols="3"> <colspec colwidth="33"> <colspec colwidth="33"> <colspec colwidth="33"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <bullet_list bullet="*"> <list_item> <paragraph> - Description, - <list_item> - <paragraph> - Definition, or + Description,* Definition, or* Narrative ? ++++++++++++++ +++++++++++ - <list_item> - <paragraph> - Narrative <tbody> <row> <entry> <bullet_list bullet="*"> <list_item> <paragraph> - Ice cream + Ice cream* Sorbet* Albatross ? +++++++++++++++++++ - <list_item> - <paragraph> - Sorbet - <list_item> - <paragraph> - Albatross <entry> <paragraph> 2.99 <entry> <paragraph> On a stick! F............ test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][15]; test_parser (DocutilsTestSupport.ParserTestCase) input: .. csv-table:: bad column widths :widths: 10,y,z some, csv, data .. csv-table:: bad column widths :widths: 0 0 0 some, csv, data -: expected +: output <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error in "csv-table" directive: invalid option value: (option: "widths"; value: '10,y,z') - invalid literal for int(): y. + invalid literal for int() with base 10: 'y'. ? +++++++++++++ + + <literal_block xml:space="preserve"> .. csv-table:: bad column widths :widths: 10,y,z some, csv, data <system_message level="3" line="6" source="test data" type="ERROR"> <paragraph> Error in "csv-table" directive: invalid option value: (option: "widths"; value: '0 0 0') negative or zero value; must be positive. <literal_block xml:space="preserve"> .. csv-table:: bad column widths :widths: 0 0 0 some, csv, data F.... test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][20]; test_parser (DocutilsTestSupport.ParserTestCase) input: .. csv-table:: bad encoding :file: test_parsers/test_rst/test_directives/utf-16.csv :encoding: latin-1 (7- and 8-bit text encoded as UTF-16 has lots of null/zero bytes.) -: expected +: output <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error with CSV data in "csv-table" directive: - string with NUL bytes + line contains NULL byte <literal_block xml:space="preserve"> .. csv-table:: bad encoding :file: test_parsers/test_rst/test_directives/utf-16.csv :encoding: latin-1 <paragraph> (7- and 8-bit text encoded as UTF-16 has lots of null/zero bytes.) F test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][21]; test_parser (DocutilsTestSupport.ParserTestCase) input: .. csv-table:: good encoding :file: test_parsers/test_rst/test_directives/utf-16.csv :encoding: utf-16 :header-rows: 1 -: expected +: output <document source="test data"> <table> <title> good encoding <tgroup cols="3"> <colspec colwidth="33"> <colspec colwidth="33"> <colspec colwidth="33"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <paragraph> Description <tbody> <row> <entry> <paragraph> Albatr°ß <entry> <paragraph> 2.99 <entry> <paragraph> ¡On a \u03c3\u03c4\u03b9\u03ba! <row> <entry> <paragraph> Crunchy Frog <entry> <paragraph> 1.49 <entry> <paragraph> - If we took the bönes out, it wouldn\u2019t be + If we took the bönes out, it wouldn\u2019t becrunchy, now would it? ? ++++++++++++++++++++++ - crunchy, now would it? <row> <entry> <paragraph> Gannet Ripple <entry> <paragraph> 1.99 <entry> <paragraph> ¿On a \u03c3\u03c4\u03b9\u03ba? F...................... ====================================================================== FAIL: test_parsers/test_rst/test_directives/test_images.py: totest['images'][18]; test_parser (DocutilsTestSupport.ParserTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 437, in test_parser self.compare_output(self.input, output, self.expected) File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 208, in compare_output raise error AssertionError: '''\ <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error in "image" directive: invalid option value: (option: "scale"; value: \'fifty\') invalid literal for int() with base 10: \'fifty\'. <literal_block xml:space="preserve"> .. image:: picture.png :scale: fifty ''' != '''\ <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error in "image" directive: invalid option value: (option: "scale"; value: \'fifty\') invalid literal for int(): fifty. <literal_block xml:space="preserve"> .. image:: picture.png :scale: fifty ''' ====================================================================== FAIL: test_parsers/test_rst/test_directives/test_contents.py: totest['contents'][8]; test_parser (DocutilsTestSupport.ParserTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 437, in test_parser self.compare_output(self.input, output, self.expected) File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 208, in compare_output raise error AssertionError: '''\ <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error in "contents" directive: invalid option value: (option: "depth"; value: \'two\') invalid literal for int() with base 10: \'two\'. <literal_block xml:space="preserve"> .. contents:: :depth: two ''' != '''\ <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error in "contents" directive: invalid option value: (option: "depth"; value: \'two\') invalid literal for int(): two. <literal_block xml:space="preserve"> .. contents:: :depth: two ''' ====================================================================== FAIL: test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][0]; test_parser (DocutilsTestSupport.ParserTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 437, in test_parser self.compare_output(self.input, output, self.expected) File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 208, in compare_output raise error AssertionError: '''\ <document source="test data"> <table> <title> inline with integral header <tgroup cols="3"> <colspec colwidth="10" stub="1"> <colspec colwidth="20"> <colspec colwidth="30"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <paragraph> Description <tbody> <row> <entry> <paragraph> Albatross <entry> <paragraph> 2.99 <entry> <paragraph> On a stick! <row> <entry> <paragraph> Crunchy Frog <entry> <paragraph> 1.49 <entry> <paragraph> If we took the bones out, it wouldn\'t becrunchy, now would it? <row> <entry> <paragraph> Gannet Ripple <entry> <paragraph> 1.99 <entry> <paragraph> On a stick! ''' != '''\ <document source="test data"> <table> <title> inline with integral header <tgroup cols="3"> <colspec colwidth="10" stub="1"> <colspec colwidth="20"> <colspec colwidth="30"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <paragraph> Description <tbody> <row> <entry> <paragraph> Albatross <entry> <paragraph> 2.99 <entry> <paragraph> On a stick! <row> <entry> <paragraph> Crunchy Frog <entry> <paragraph> 1.49 <entry> <paragraph> If we took the bones out, it wouldn\'t be crunchy, now would it? <row> <entry> <paragraph> Gannet Ripple <entry> <paragraph> 1.99 <entry> <paragraph> On a stick! ''' ====================================================================== FAIL: test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][2]; test_parser (DocutilsTestSupport.ParserTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 437, in test_parser self.compare_output(self.input, output, self.expected) File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 208, in compare_output raise error AssertionError: '''\ <document source="test data"> <table> <title> complex internal structure <tgroup cols="3"> <colspec colwidth="33"> <colspec colwidth="33"> <colspec colwidth="33"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <bullet_list bullet="*"> <list_item> <paragraph> Description,* Definition, or* Narrative <tbody> <row> <entry> <bullet_list bullet="*"> <list_item> <paragraph> Ice cream* Sorbet* Albatross <entry> <paragraph> 2.99 <entry> <paragraph> On a stick! ''' != '''\ <document source="test data"> <table> <title> complex internal structure <tgroup cols="3"> <colspec colwidth="33"> <colspec colwidth="33"> <colspec colwidth="33"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <bullet_list bullet="*"> <list_item> <paragraph> Description, <list_item> <paragraph> Definition, or <list_item> <paragraph> Narrative <tbody> <row> <entry> <bullet_list bullet="*"> <list_item> <paragraph> Ice cream <list_item> <paragraph> Sorbet <list_item> <paragraph> Albatross <entry> <paragraph> 2.99 <entry> <paragraph> On a stick! ''' ====================================================================== FAIL: test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][15]; test_parser (DocutilsTestSupport.ParserTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 437, in test_parser self.compare_output(self.input, output, self.expected) File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 208, in compare_output raise error AssertionError: '''\ <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error in "csv-table" directive: invalid option value: (option: "widths"; value: \'10,y,z\') invalid literal for int() with base 10: \'y\'. <literal_block xml:space="preserve"> .. csv-table:: bad column widths :widths: 10,y,z \n\ some, csv, data <system_message level="3" line="6" source="test data" type="ERROR"> <paragraph> Error in "csv-table" directive: invalid option value: (option: "widths"; value: \'0 0 0\') negative or zero value; must be positive. <literal_block xml:space="preserve"> .. csv-table:: bad column widths :widths: 0 0 0 \n\ some, csv, data ''' != '''\ <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error in "csv-table" directive: invalid option value: (option: "widths"; value: \'10,y,z\') invalid literal for int(): y. <literal_block xml:space="preserve"> .. csv-table:: bad column widths :widths: 10,y,z \n\ some, csv, data <system_message level="3" line="6" source="test data" type="ERROR"> <paragraph> Error in "csv-table" directive: invalid option value: (option: "widths"; value: \'0 0 0\') negative or zero value; must be positive. <literal_block xml:space="preserve"> .. csv-table:: bad column widths :widths: 0 0 0 \n\ some, csv, data ''' ====================================================================== FAIL: test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][20]; test_parser (DocutilsTestSupport.ParserTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 437, in test_parser self.compare_output(self.input, output, self.expected) File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 208, in compare_output raise error AssertionError: '''\ <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error with CSV data in "csv-table" directive: line contains NULL byte <literal_block xml:space="preserve"> .. csv-table:: bad encoding :file: test_parsers/test_rst/test_directives/utf-16.csv :encoding: latin-1 <paragraph> (7- and 8-bit text encoded as UTF-16 has lots of null/zero bytes.) ''' != '''\ <document source="test data"> <system_message level="3" line="1" source="test data" type="ERROR"> <paragraph> Error with CSV data in "csv-table" directive: string with NUL bytes <literal_block xml:space="preserve"> .. csv-table:: bad encoding :file: test_parsers/test_rst/test_directives/utf-16.csv :encoding: latin-1 <paragraph> (7- and 8-bit text encoded as UTF-16 has lots of null/zero bytes.) ''' ====================================================================== FAIL: test_parsers/test_rst/test_directives/test_tables.py: totest['csv-table'][21]; test_parser (DocutilsTestSupport.ParserTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 437, in test_parser self.compare_output(self.input, output, self.expected) File "/var/tmp/portage/dev-python/docutils-0.4-r1/work/docutils-0.4/test/DocutilsTestSupport.py", line 208, in compare_output raise error AssertionError: '''\ <document source="test data"> <table> <title> good encoding <tgroup cols="3"> <colspec colwidth="33"> <colspec colwidth="33"> <colspec colwidth="33"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <paragraph> Description <tbody> <row> <entry> <paragraph> Albatr\xb0\xdf <entry> <paragraph> 2.99 <entry> <paragraph> \xa1On a \\u03c3\\u03c4\\u03b9\\u03ba! <row> <entry> <paragraph> Crunchy Frog <entry> <paragraph> 1.49 <entry> <paragraph> If we took the b\xf6nes out, it wouldn\\u2019t becrunchy, now would it? <row> <entry> <paragraph> Gannet Ripple <entry> <paragraph> 1.99 <entry> <paragraph> \xbfOn a \\u03c3\\u03c4\\u03b9\\u03ba? ''' != '''\ <document source="test data"> <table> <title> good encoding <tgroup cols="3"> <colspec colwidth="33"> <colspec colwidth="33"> <colspec colwidth="33"> <thead> <row> <entry> <paragraph> Treat <entry> <paragraph> Quantity <entry> <paragraph> Description <tbody> <row> <entry> <paragraph> Albatr\xb0\xdf <entry> <paragraph> 2.99 <entry> <paragraph> \xa1On a \\u03c3\\u03c4\\u03b9\\u03ba! <row> <entry> <paragraph> Crunchy Frog <entry> <paragraph> 1.49 <entry> <paragraph> If we took the b\xf6nes out, it wouldn\\u2019t be crunchy, now would it? <row> <entry> <paragraph> Gannet Ripple <entry> <paragraph> 1.99 <entry> <paragraph> \xbfOn a \\u03c3\\u03c4\\u03b9\\u03ba? ''' ---------------------------------------------------------------------- Ran 998 tests in 64.489s FAILED (failures=7) Elapsed time: 67.783 seconds