File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1006,7 +1006,9 @@ def task_meta(cls, **kwargs):
10061006 args = Args (** kwargs )
10071007 dirs = Dirs (args )
10081008
1009- cmd = [str (dirs .root / 'tools' / 'refguide_check.py' ), '--doctests' ]
1009+ cmd = [f'{ sys .executable } ' ,
1010+ str (dirs .root / 'tools' / 'refguide_check.py' ),
1011+ '--doctests' ]
10101012 if args .verbose :
10111013 cmd += ['-vvv' ]
10121014 if args .submodule :
Original file line number Diff line number Diff line change 1- #!/usr/bin/env python
1+ #!/usr/bin/env python3
22"""
33refguide_check.py [OPTIONS] [-- ARGS]
44
77
88Example of usage::
99
10- $ python refguide_check.py optimize
10+ $ python3 refguide_check.py optimize
1111
1212Note that this is a helper script to be able to check if things are missing;
1313the output of this script does need to be checked manually. In some cases
1919scipy docstrings doctestable!], this is just to make sure that code in
2020docstrings is valid python::
2121
22- $ python refguide_check.py --doctests optimize
22+ $ python3 refguide_check.py --doctests optimize
2323
2424"""
2525import copy
You can’t perform that action at this time.
0 commit comments