tests/test-gendoc-ru.t
author Matthieu Laneuville <matthieu.laneuville@octobus.net>
Tue, 18 Jul 2017 07:19:26 +0900
changeset 33561 2893face0af5
parent 28809 7a1ad08b9ff5
permissions -rw-r--r--
run-tests: check if stream is a tty before using color Previous implementation (e80041832eec) checked only if sys.stderr was a tty which was less general. Also makes sure that colors is never used if pygments is not available, irrespective of --color flag value.

#require docutils gettext

  $ $TESTDIR/check-gendoc ru
  checking for parse errors