Changeset 5911:9595c690e621


Ignore:
Timestamp:
08/27/07 13:05:08 (6 years ago)
Author:
William Stein <wstein@…>
Branch:
default
Message:

Make doctest of inline fortran optional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sage/misc/inline_fortran.py

    r5734 r5911  
    2525            sage: from sage.misc.inline_fortran import InlineFortran 
    2626            sage: s = open(os.environ['SAGE_ROOT'] + '/examples/fortran/FIB1.F').read() 
    27             sage: test_fortran = InlineFortran(globals()) 
    28             sage: test_fortran(s) 
     27            sage: test_fortran = InlineFortran(globals())   # optional -- requires fortran 
     28            sage: test_fortran(s)           # optional -- requires fortran 
    2929            sage: import numpy 
    3030            sage: n = numpy.array(range(10),dtype=float) 
    31             sage: fib(n,int(10)) 
    32             sage: n 
     31            sage: fib(n,int(10))            # optional -- requires fortran 
     32            sage: n                         # optional -- requires fortran 
    3333            array([  0.,   1.,   1.,   2.,   3.,   5.,   8.,  13.,  21.,  34.]) 
    3434        """ 
Note: See TracChangeset for help on using the changeset viewer.