File: t__47__rst.t_should_call_python3__44___not_python.mdwn

package info (click to toggle)
ikiwiki 3.20190228-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 20,904 kB
  • sloc: perl: 31,100; python: 428; sh: 185; makefile: 120
file content (15 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Now that the rst plugin uses Python3, the test should test docutils existence also with Python3:

    --- rst.t.orig	2018-02-28 10:41:06.000000000 +0000
    +++ rst.t	2018-03-03 17:17:23.862702468 +0000
    @@ -3,7 +3,7 @@
     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"';
     	}
     }

> [[Applied|done]], thanks. --[[smcv]]