Ticket #13361: trac_13361_fix_test.patch

File trac_13361_fix_test.patch, 601 bytes (added by vbraun, 9 years ago)

Initial patch

  • sage/tests/cmdline.py

    # HG changeset patch
    # User Volker Braun <vbraun@stp.dias.ie>
    # Date 1348056096 -3600
    # Node ID 4352cc55b53ab5fa9af19619f719c66232ae7a00
    # Parent  e20f6b64e062df0337ee38afd97bf552fd8362cc
    Fix commandline doctest for sage -startuptime
    
    diff --git a/sage/tests/cmdline.py b/sage/tests/cmdline.py
    a b  
    139139        0
    140140
    141141        sage: (out, err, ret) = test_executable(["sage", "--startuptime"])
    142         sage: out.find("sage.all: ") >= 0
     142        sage: out.find("Slowest module import") >= 0
    143143        True
    144144        sage: err
    145145        ''