zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
U
O±d{ã@s4ddlmZddlmZdZdZdd„Zdd„Zd    S)
é)Ú process_str)Ú assert_equalzÙ
python module foo
    <_rd=real,double precision>
    interface
        subroutine <s,d>foosub(tol)
            <_rd>, intent(in,out) :: tol
        end subroutine <s,d>foosub
    end interface
end python module foo
a#
python module foo
    interface
        subroutine sfoosub(tol)
            real, intent(in,out) :: tol
        end subroutine sfoosub
        subroutine dfoosub(tol)
            double precision, intent(in,out) :: tol
        end subroutine dfoosub
    end interface
end python module foo
cCsd | ¡¡S)zu
    Remove leading and trailing whitespace, and convert internal
    stretches of whitespace to a single space.
    ú )ÚjoinÚsplit)Ús©rú_d:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/distutils/tests/test_from_template.pyÚnormalize_whitespacesr
cCs&ttƒ}t|ƒ}ttƒ}t||ƒdS)zRegression test for gh-10712.N)rÚpyf_srcr
Ú expected_pyfr)ZpyfZnormalized_pyfZnormalized_expected_pyfrrr    Útest_from_template'sr N)Znumpy.distutils.from_templaterZ numpy.testingrr r r
r rrrr    Ú<module>s