This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author berker.peksag
Recipients Mariatta, berker.peksag, dstufft, eric.araujo, xiang.zhang
Date 2016-10-02.03:41:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475379690.53.0.749881954975.issue28222@psf.upfronthosting.co.za>
In-reply-to
Content
I can reproduce it with the following dependencies:

    $ pip list
    docutils (0.12)
    pip (8.1.2)
    setuptools (27.1.2)

The test was added in issue 23063. Since the purpose of the test was testing a bug in _check_rst_data(), skipping it if pygments is not available wouldn't be an ideal solution.

We probably need to do something like:

    if pygments is not None:
        self.assertEqual(len(msgs), 0)
    else:
        self.assertEqual(len(msgs), 1)
        self.assertEqual(
            str(msgs[0][1]),
            'Cannot analyze code. Pygments package not found.'
        )
History
Date User Action Args
2016-10-02 03:41:30berker.peksagsetrecipients: + berker.peksag, eric.araujo, dstufft, xiang.zhang, Mariatta
2016-10-02 03:41:30berker.peksagsetmessageid: <1475379690.53.0.749881954975.issue28222@psf.upfronthosting.co.za>
2016-10-02 03:41:30berker.peksaglinkissue28222 messages
2016-10-02 03:41:29berker.peksagcreate