#4655: doctest failure in plot.py with 3.2.1.rc0 on 64-bit SuSe linux
----------------------+-----------------------------------------------------
Reporter: cremona | Owner: was
Type: defect | Status: new
Priority: major | Milestone: sage-3.2.1
Component: graphics | Keywords: plot
----------------------+-----------------------------------------------------
This test fails in 3.2.1.rc0:
{{{
[EMAIL PROTECTED]/sage -t "devel/sage/sage/plot/plot.py"
sage -t "devel/sage/sage/plot/plot.py"
**********************************************************************
File "/home/jec/sage-3.2.1.rc0/devel/sage/sage/plot/plot.py", line 2283:
sage: adaptive_refinement(sin, (0,0), (pi,0), adaptive_tolerance=0.01)
Expected:
[(0.125*pi, 0.38268343236508978), (0.1875*pi, 0.55557023301960218),
(0.25*pi, 0.70710678118654746), (0.3125*pi, 0.831469612302545...),
(0.375*pi, 0.92387953251128674), (0.4375*pi, 0.98078528040323043),
(0.5*pi, 1.0), (0.5625*pi, 0.98078528040323043), (0.625*pi,
0.92387953251128674), (0.6875*pi, 0.83146961230254546), (0.75*pi,
0.70710678118654757), (0.8125*pi, 0.55557023301960218), (0.875*pi,
0.3826834323650898...)]
Got:
[(0.125*pi, 0.38268343236508978), (0.1875*pi, 0.55557023301960218),
(0.25*pi, 0.70710678118654746), (0.3125*pi, 0.83146961230254524),
(0.375*pi, 0.92387953251128674), (0.4375*pi, 0.98078528040323043),
(0.5*pi, 1.0), (0.5625*pi, 0.98078528040323043), (0.625*pi,
0.92387953251128674), (0.6875*pi, 0.83146961230254535), (0.75*pi,
0.70710678118654757), (0.8125*pi, 0.55557023301960218), (0.875*pi,
0.38268343236508989)]
**********************************************************************
1 items had failures:
1 of 10 in __main__.example_47
***Test Failed*** 1 failures.
For whitespace errors, see the file
/home/jec/sage-3.2.1.rc0/tmp/.doctest_plot.py
[38.8 s]
exit code: 1024
----------------------------------------------------------------------
The following tests failed:
sage -t "devel/sage/sage/plot/plot.py"
Total time for all tests: 38.8 seconds
}}}
on this machine:
{{{
[EMAIL PROTECTED] /proc/version
Linux version 2.6.18.8-0.3-default ([EMAIL PROTECTED]) (gcc version 4.1.2
20061115 (prerelease) (SUSE Linux)) #1 SMP Tue Apr 17 08:42:35 UTC 2007
}}}
with this cpu (*4):
{{{
processor : 3
vendor_id : AuthenticAMD
cpu family : 15
model : 65
model name : Dual-Core AMD Opteron(tm) Processor 2220
stepping : 3
cpu MHz : 2800.168
cache size : 1024 KB
physical id : 1
siblings : 2
core id : 1
cpu cores : 2
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
rdtscp lm 3dnowext 3dnow pni cx16 lahf_lm cmp_legacy svm cr8_legacy
bogomips : 5600.76
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
}}}
Strange: to me the "..." processing should have dealt with that!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4655>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---