]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
rst test: Probe for docutils Python 3 module, not Python 2
authorhttp://thm.id.fedoraproject.org/ <thm@web>
Sun, 4 Mar 2018 10:56:18 +0000 (10:56 +0000)
committerSimon McVittie <smcv@debian.org>
Sun, 4 Mar 2018 10:56:18 +0000 (10:56 +0000)
t/rst.t

diff --git a/t/rst.t b/t/rst.t
index a72c4681cbf3bd0e13817c730338761a5537e7b8..7908c0fb2a0d780d3bb2b53155f39d77f3bf1186 100755 (executable)
--- a/t/rst.t
+++ b/t/rst.t
@@ -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"';
        }
 }