]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
(no commit message)
authorhttp://thm.id.fedoraproject.org/ <thm@web>
Sat, 3 Mar 2018 17:21:46 +0000 (13:21 -0400)
committeradmin <admin@branchable.com>
Sat, 3 Mar 2018 17:21:46 +0000 (13:21 -0400)
doc/bugs/t__47__rst.t_should_call_python3__44___not_python.mdwn [new file with mode: 0644]

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"';
+       }
+     }