Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#6999 closed defect (fixed)

[with patch, positive review] doctest failures on 32-bit systems due to #4948 patches

Reported by: flawrence Owned by: flawrence
Priority: major Milestone: sage-4.1.2
Component: interfaces Keywords:
Cc: Merged in: Sage 4.1.2.alpha4
Authors: Felix Lawrence Reviewers: Jaap Spies
Report Upstream: Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Description

Some doctests added in the patches for #4948 fail on 32-bit systems:

sage -t -long "devel/sage/sage/interfaces/expect.py" 
********************************************************************** 
File "/space/wstein/farm/sage-4.1.2.alpha2/devel/sage/sage/interfaces/expect.py" , 
line 1599: 
    sage: gp(10.^80)._sage_repr() 
Expected nothing 
Got: 
    '1.000000000000000000000000000e80' 
********************************************************************** 
1 items had failures: 
   1 of   3 in __main__.example_45 
***Test Failed*** 1 failures. 
For whitespace errors, see the file 
/space/wstein/farm/sage-4.1.2.alpha2/tmp/.doctest_expect.py 
         [17.4 s] 
sage -t -long "devel/sage/sage/interfaces/all.py" 
         [0.1 s] 
sage -t -long "devel/sage/sage/interfaces/rubik.py" 
         [37.8 s] 
sage -t -long "devel/sage/sage/interfaces/gp.py" 
********************************************************************** 
File "/space/wstein/farm/sage-4.1.2.alpha2/devel/sage/sage/interfaces/gp.py", 
line 567: 
    sage: repr(gp(10.^80)).replace(gp._exponent_symbol(), 'e') 
Expected nothing 
Got: 
    '1.000000000000000000000000000e80' 
********************************************************************** 
1 items had failures: 
   1 of   4 in __main__.example_26 
***Test Failed*** 1 failures. 
For whitespace errors, see the file 
/space/wstein/farm/sage-4.1.2.alpha2/tmp/.doctest_gp.py 
         [3.5 s] 
---------------------------------------------------------------------- 

Attachments (1)

trac-6999-doctest_failures_on_32_bit.patch (1.2 KB) - added by flawrence 10 years ago.

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by flawrence

comment:1 Changed 10 years ago by jsp

  • Summary changed from [with patch, needs review] doctest failures on 32-bit systems due to #4948 patches to [with patch, positive review] doctest failures on 32-bit systems due to #4948 patches

Works ok for me on 32 bit. So positive review.

Jaap

comment:2 Changed 10 years ago by mvngu

  • Merged in set to Sage 4.1.2.alpha3
  • Resolution set to fixed
  • Reviewers set to Jaap Spies
  • Status changed from new to closed

comment:3 Changed 10 years ago by mvngu

  • Merged in changed from Sage 4.1.2.alpha3 to Sage 4.1.2.alpha4

There is no 4.1.2.alpha3. Sage 4.1.2.alpha3 was William Stein's release for working on making the notebook a standalone package.

Note: See TracTickets for help on using tickets.