Ticket #13011: trac_13011-part2.patch

File trac_13011-part2.patch, 917 bytes (added by was, 10 years ago)
  • sage/interfaces/mathematica.py

    # HG changeset patch
    # User William Stein <wstein@gmail.com>
    # Date 1338178155 25200
    # Node ID 2aac38ef70937e0b484ee6f306624b17a0d1d062
    # Parent  cff770cab93f348e6752eb92280e44032590c042
    Trac #13011: several optional tests fail in the sage/mathematica interface with mathematica 8.0 (part 2)
    
    diff --git a/sage/interfaces/mathematica.py b/sage/interfaces/mathematica.py
    a b  
    867867        """
    868868        EXAMPLES::
    869869
    870             sage: mathematica('Pi').N(10)
     870            sage: mathematica('Pi').N(10)    # optional -- mathematica
    871871            3.1415926536
    872             sage: mathematica('Pi').N(50)
     872            sage: mathematica('Pi').N(50)    # optional -- mathematica
    873873            3.14159265358979323846264338327950288419716939937511           
    874874        """
    875875        # The base class way up the hierarchy defines an "N" (modeled