C:\docutils\tools>python quicktest.py --version
quicktest.py (Docutils 0.5 [snapshot 2007-06-29, r5308])

Error:
................................................
test_parsers\test_rst\test_directives\test_tables.py: totest['csv-table'][20]; t
est_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:
-             ascii
+             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..........................................
======================================================================
FAIL: test_parsers\test_rst\test_directives\test_tables.py: totest['csv-table'][
20]; test_parser (DocutilsTestSupport.ParserTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\docutils\test\DocutilsTestSupport.py", line 442, in test_parser
    self.compare_output(self.input, output, self.expected)
  File "C:\docutils\test\DocutilsTestSupport.py", line 213, 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:
            ascii
        <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.)
'''
----------------------------------------------------------------------
Ran 1051 tests in 41.860s
FAILED (failures=1)
Elapsed time: 46.031 seconds


Novo Yahoo! CadÍ? - Experimente uma nova busca.