Message277846
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.'
) |
|
Date |
User |
Action |
Args |
2016-10-02 03:41:30 | berker.peksag | set | recipients:
+ berker.peksag, eric.araujo, dstufft, xiang.zhang, Mariatta |
2016-10-02 03:41:30 | berker.peksag | set | messageid: <1475379690.53.0.749881954975.issue28222@psf.upfronthosting.co.za> |
2016-10-02 03:41:30 | berker.peksag | link | issue28222 messages |
2016-10-02 03:41:29 | berker.peksag | create | |
|