Ticket #5467: 5467_long_input_to_Macaulay2_second_part.patch

File 5467_long_input_to_Macaulay2_second_part.patch, 750 bytes (added by novoselt, 12 years ago)

Must be applied after the first patch.

  • sage/interfaces/macaulay2.py

    # HG changeset patch
    # User Andrey Novoseltsev <novoselt@gmail.com>
    # Date 1263069510 25200
    # Node ID 60b889c90e13799ffddc32003031019385c3e907
    # Parent  d0bd43edee0c555b3f65838309d05b886a7f4d7b
    Marked a test line optional.
    
    diff -r d0bd43edee0c -r 60b889c90e13 sage/interfaces/macaulay2.py
    a b  
    196196            sage: os.unlink(filename)
    197197            sage: macaulay2._read_in_file_command("test")
    198198            'load "test"'
    199             sage: macaulay2(10^10000) == 10^10000
     199            sage: macaulay2(10^10000) == 10^10000  #optional
    200200            True
    201201        """
    202202        return 'load "%s"' % filename