rst test: Probe for docutils Python 3 module, not Python 2

master
http://thm.id.fedoraproject.org/ 2018-03-04 10:56:18 +00:00 committed by Simon McVittie
parent 2b754d446c
commit 7253137b31
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ use warnings;
use strict;
BEGIN {
if (system("python -c 'import docutils.core'") != 0) {
if (system("python3 -c 'import docutils.core'") != 0) {
eval 'use Test::More skip_all => "docutils not available"';
}
}