]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/bugs/t__47__rst.t_should_call_python3__44___not_python.mdwn
(no commit message)
[git.ikiwiki.info.git] / doc / bugs / t__47__rst.t_should_call_python3__44___not_python.mdwn
diff --git a/doc/bugs/t__47__rst.t_should_call_python3__44___not_python.mdwn b/doc/bugs/t__47__rst.t_should_call_python3__44___not_python.mdwn
new file mode 100644 (file)
index 0000000..597b8de
--- /dev/null
@@ -0,0 +1,13 @@
+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"';
+       }
+     }