Ticket #13002: 13002_singular_interrupt.patch

File 13002_singular_interrupt.patch, 1004 bytes (added by jdemeyer, 9 years ago)
  • sage/interfaces/expect.py

    # HG changeset patch
    # User Jeroen Demeyer <jdemeyer@cage.ugent.be>
    # Date 1337915418 25200
    # Node ID e6b856e2ca0309228c222f72b7440bcf53ffe2b5
    # Parent  8709b976e906b35b6174d82ea0c3776d2f36e24a
    Increase Singular doctest timeout
    
    diff --git a/sage/interfaces/expect.py b/sage/interfaces/expect.py
    a b  
    827827
    828828            sage: cutoff = singular._eval_using_file_cutoff
    829829            sage: singular._eval_using_file_cutoff = 4
    830             sage: singular._eval_line('for(int i=1;i<=3;i++){i=1;};', wait_for_prompt=False)
     830            sage: singular._eval_line('for(int i=1;i<=3;i++){i=1;};', wait_for_prompt=False)  # long time
    831831            ''
    832             sage: singular.interrupt(timeout=3)  # sometimes very slow (up to 60s on sage.math, 2012)
     832            sage: singular.interrupt(timeout=10)  # possibly long time (up to 60s on sage.math, 2012)
    833833            False
    834834            sage: singular._eval_using_file_cutoff = cutoff
    835835