Re: [sage-release] Sage 9.2.rc1 released

2020-10-11 Thread Andy Howell
Ubuntu 20.04 Incremental build  OK, tests failed. Did clean rebuild. 
These two failed:


sage -t --long --warn-long 55.4 --random-seed=0 
src/sage/interfaces/singular.py  # Killed due to segmentation fault


sage-t --long --warn-long 55.4 --random-seed=0 
src/sage/quadratic_forms/quadratic_form__equivalence_testing.py  # 1 
doctest failed


ran singular test manually. It passed. 
quadratic_form__equivalence_testing fails hard.


./config.status --config
'--with-system-eclib=no' '-with-system-nauty=no' '-with-system-glpk=no'

On 10/10/20 6:43 PM, Volker Braun wrote:
As always, you can get the latest beta version from the "develop" git 
branch. Alternatively, the self-contained source tarball is at 
http://www.sagemath.org/download-latest.html



8eec238a73 (tag: 9.2.rc1, trac/develop) Updated SageMath version to 
9.2.rc1

a569b88f02 Trac #30740: Fix sage.feature.package_systems for Python 3.6
f6250c2682 (tag: 9.2.rc0) Updated SageMath version to 9.2.rc0

--
You received this message because you are subscribed to the Google 
Groups "sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sage-release+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/8404a7d9-b906-4301-b891-59733da482cen%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-release/3fcd73f8-7edd-f214-ea98-96e9fcd683be%40gamubaru.com.


Re: [sage-release] Sage 9.1 released

2020-05-22 Thread Andy Howell
jects and external database tables, please install the
 libiodbc2-dev (for the iODBC table driver) and libmysqlclient-dev
 (for the MySQL table driver).
Description-md5: a59dfd97ae7c98fa4132822ad0935832

apt-cache show libglpk-dev
Package: libglpk-dev
Architecture: amd64
Version: 4.65-2
Multi-Arch: same
Priority: optional
Section: universe/devel
Source: glpk
Origin: Ubuntu
Maintainer: Ubuntu Developers 
Original-Maintainer: Debian Science Team 


Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1985
Depends: libglpk40 (= 4.65-2), libgmp-dev, zlib1g-dev, libsuitesparse-dev
Filename: pool/universe/g/glpk/libglpk-dev_4.65-2_amd64.deb
Size: 444944
MD5sum: 4e46f8149b17e6ac4b90b571472db3df
SHA1: 4115db795433f951c4152c1b82e97cc5a1ce2683
SHA256: aea3fc972ef3200c25f323cc6c5271dd2db75fe8a95ded1da3f561fdbc227df8
Homepage: http://www.gnu.org/software/glpk/glpk.html
Description-en: linear programming kit - development files
 GLPK (GNU Linear Programming Kit) is intended for solving large-scale
 linear programming (LP), mixed integer programming (MIP), and other
 related problems. It is a set of routines written in ANSI C and
 organized in the form of a callable library.
 .
 This package contains static library, headers, and the development
 manpage for libvc.
Description-md5: 1a3290298c2e8e1d80e4bf1609c09ab9

On 5/21/20 4:15 PM, Andy Howell wrote:


On Ubuntu 19.10, I had the following hard errors after a clean build:

sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py  # 2 
doctests failed
sage -t --long --warn-long 63.4 
src/sage/numerical/backends/glpk_backend.pyx  # 1 doctest failed
sage -t --long --warn-long 63.4 src/sage/libs/glpk/error.pyx  # 1 
doctest failed


Results of manual test runs below. I did receive a system error report 
about mwrank core dumping. The system eclib-tools version is 20190226-3.


./sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py
Running doctests with ID 2020-05-21-15-49-48-9a6627ba.
Git branch: develop
Using --optional=build,dochtml,memlimit,sage
Doctesting 1 file.
sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py
**
File "src/sage/libs/eclib/interface.py", line 359, in 
sage.libs.eclib.interface.mwrank_EllipticCurve.?

Failed example:
    EllipticCurve([0, 
prod(prime_range(100))]).mwrank_curve().two_descent()

Expected:
    Traceback (most recent call last):
    ...
    RuntimeError: A 2-descent did not complete successfully.
Got:
    Basic pair: I=0, J=-62250335026528997468333757977957413890
disc=-3875104210915102959939644358548402200900731760187126282616072842416764932100
    2-adic index bound = 2
    2-adic index = 2
    Two (I,J) pairs
    Looking for quartics with I = 0, J = 
-62250335026528997468333757977957413890

    Looking for Type 3 quartics:
    Trying positive a from 1 up to 1144080564738 (square a first...)
    Traceback (most recent call last):
  File 
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/doctest/forker.py", 
line 681, in _run

    self.compile_and_execute(example, compiler, test.globs)
  File 
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/doctest/forker.py", 
line 1123, in compile_and_execute

    exec(compiled, globs)
  File "sage.libs.eclib.interface.mwrank_EllipticCurve.?[1]>", line 1, in 
    EllipticCurve([Integer(0), 
prod(prime_range(Integer(100)))]).mwrank_curve().two_descent()
  File 
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/libs/eclib/interface.py", 
line 386, in two_descent

    second_descent)
  File "sage/libs/eclib/mwrank.pyx", line 1062, in 
sage.libs.eclib.mwrank._two_descent.do_descent 
(build/cythonized/sage/libs/eclib/mwrank.cpp:5092)

    sig_on()
    RuntimeError: Aborted
**
File "src/sage/libs/eclib/interface.py", line 597, in 
sage.libs.eclib.interface.mwrank_EllipticCurve.saturate

Failed example:
    E.saturation([Q1,Q2])
Expected:
    ([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
Got:
    Attempt to round -0.2617840677e25 to a long int fails, aborting!
    ([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
**
2 items had failures:
   1 of   6 in sage.libs.eclib.interface.mwrank_EllipticCurve.?
   1 of   9 in sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
    [192 tests, 2 failures, 4.81 s]
--
sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py  # 2 
doctests failed

--
Total time for all tests: 4.9 seconds
    cpu time: 4.7 seconds
    cumulative wall time: 4.8 seconds


./sage -t --long --warn-long 63.4 
src/sage/numerical/backends/glpk_backe

Re: [sage-release] Sage 9.1 released

2020-05-21 Thread Andy Howell

On Ubuntu 19.10, I had the following hard errors after a clean build:

sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py # 2 
doctests failed
sage -t --long --warn-long 63.4 
src/sage/numerical/backends/glpk_backend.pyx  # 1 doctest failed
sage -t --long --warn-long 63.4 src/sage/libs/glpk/error.pyx  # 1 
doctest failed


Results of manual test runs below. I did receive a system error report 
about mwrank core dumping. The system eclib-tools version is 20190226-3.


./sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py
Running doctests with ID 2020-05-21-15-49-48-9a6627ba.
Git branch: develop
Using --optional=build,dochtml,memlimit,sage
Doctesting 1 file.
sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py
**
File "src/sage/libs/eclib/interface.py", line 359, in 
sage.libs.eclib.interface.mwrank_EllipticCurve.?

Failed example:
    EllipticCurve([0, prod(prime_range(100))]).mwrank_curve().two_descent()
Expected:
    Traceback (most recent call last):
    ...
    RuntimeError: A 2-descent did not complete successfully.
Got:
    Basic pair: I=0, J=-62250335026528997468333757977957413890
disc=-3875104210915102959939644358548402200900731760187126282616072842416764932100
    2-adic index bound = 2
    2-adic index = 2
    Two (I,J) pairs
    Looking for quartics with I = 0, J = 
-62250335026528997468333757977957413890

    Looking for Type 3 quartics:
    Trying positive a from 1 up to 1144080564738 (square a first...)
    Traceback (most recent call last):
  File 
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/doctest/forker.py", 
line 681, in _run

    self.compile_and_execute(example, compiler, test.globs)
  File 
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/doctest/forker.py", 
line 1123, in compile_and_execute

    exec(compiled, globs)
  File "sage.libs.eclib.interface.mwrank_EllipticCurve.?[1]>", line 1, in 
    EllipticCurve([Integer(0), 
prod(prime_range(Integer(100)))]).mwrank_curve().two_descent()
  File 
"/home/andy/bin/sage-9.1/lib/python3.7/site-packages/sage/libs/eclib/interface.py", 
line 386, in two_descent

    second_descent)
  File "sage/libs/eclib/mwrank.pyx", line 1062, in 
sage.libs.eclib.mwrank._two_descent.do_descent 
(build/cythonized/sage/libs/eclib/mwrank.cpp:5092)

    sig_on()
    RuntimeError: Aborted
**
File "src/sage/libs/eclib/interface.py", line 597, in 
sage.libs.eclib.interface.mwrank_EllipticCurve.saturate

Failed example:
    E.saturation([Q1,Q2])
Expected:
    ([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
Got:
    Attempt to round -0.2617840677e25 to a long int fails, aborting!
    ([(1 : -27 : 1), (157 : 1950 : 1)], 3, 0.801588644684981)
**
2 items had failures:
   1 of   6 in sage.libs.eclib.interface.mwrank_EllipticCurve.?
   1 of   9 in sage.libs.eclib.interface.mwrank_EllipticCurve.saturate
    [192 tests, 2 failures, 4.81 s]
--
sage -t --long --warn-long 63.4 src/sage/libs/eclib/interface.py # 2 
doctests failed

--
Total time for all tests: 4.9 seconds
    cpu time: 4.7 seconds
    cumulative wall time: 4.8 seconds


./sage -t --long --warn-long 63.4 
src/sage/numerical/backends/glpk_backend.pyx

Running doctests with ID 2020-05-21-15-56-47-2364f65a.
Git branch: develop
Using --optional=build,dochtml,memlimit,sage
Doctesting 1 file.
sage -t --long --warn-long 63.4 src/sage/numerical/backends/glpk_backend.pyx
**
File "src/sage/numerical/backends/glpk_backend.pyx", line 2287, in 
sage.numerical.backends.glpk_backend.GLPKBackend.print_ranges

Failed example:
    p.print_ranges()
Expected:
    glp_print_ranges: optimal basic solution required
    1
Got:
    1
**
1 item had failures:
   1 of  13 in 
sage.numerical.backends.glpk_backend.GLPKBackend.print_ranges

    [554 tests, 1 failure, 3.65 s]
--
sage -t --long --warn-long 63.4 
src/sage/numerical/backends/glpk_backend.pyx  # 1 doctest failed

--
Total time for all tests: 3.7 seconds
    cpu time: 3.5 seconds
    cumulative wall time: 3.6 seconds


./sage -t --long --warn-long 63.4 src/sage/libs/glpk/error.pyx
Running doctests with ID 2020-05-21-15-58-09-961e045f.
Git branch: develop
Using --optional=build,dochtml,memlimit,sage
Doctesting 1 file.
sage -t --long --warn-long 63.4 src/sage/libs/glpk/error.pyx
**
File "src/sage/libs/glpk/e

Re: [sage-release] Sage 8.7.beta0 released

2019-01-24 Thread Andy Howell

Under Ubuntu 18.10, I had one transient failure.

sage -t --long --warn-long 53.6 
src/sage/numerical/linear_tensor_element.pyx  # Killed due to abort


sage/local/bin/python2 cored.

Running the test standalone passed, as did rerunning all tests again.


On 1/23/19 2:47 PM, Volker Braun wrote:




--
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-release+unsubscr...@googlegroups.com.
To post to this group, send email to sage-release@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-release] Sage 8.4.beta5 released

2018-09-18 Thread Andy Howell
Steven,

I had a cursory look at that yesterday. It looks like it should work,
but obviously does not. It seems like the  t_dir = tmp_dir() should
create a temporary directory, so test.py being there should not be an issue.

I can look at it more in depth in a couple days.

Regards,

Andy


On 09/17/2018 10:27 PM, Steven Trogdon wrote:
> This is now https://trac.sagemath.org/ticket/26304. I think this
> should be corrected.
>
> On Monday, September 17, 2018 at 6:10:47 AM UTC-5, Erik Bray wrote:
>
> On Mon, Sep 17, 2018 at 5:04 AM Andy Howell  > wrote:
> >
> > Steven,
> >
> > Thanks for confirming I'm an idiot:) I did have a test.py in
> there. Sorry for the noise. Re-running the tests to make sure, but
> its almost certainly my fault.
>
> In fairness, that test is poorly written if merely having a file
> called test.py in your SAGE_ROOT can break it.  I think I've been
> bitten by that one as well.  It's not your fault.
>
> > On 09/16/2018 09:42 PM, Steven Trogdon wrote:
> >
> > Just guessing, but do you by chance have the file 'test.py' in
> SAGE_ROOT? I think that's where it's looking. If so, remove it and
> repeat the tests.
> >
> > On Sunday, September 16, 2018 at 3:38:44 PM UTC-5, Andy Howell
> wrote:
> >>
> >> I'm getting two tests failing on Ubuntu 18.04.1 LTS
> >>
> >> sage -t --long --warn-long 39.4 src/sage/repl/attach.py  # 7
> doctests failed
> >> sage -t --long --warn-long 39.4 src/sage/repl/load.py  # 1
> doctest failed
> >>
> >> I did an incremental build and the test failed. I did a distclean,
> >> rebuild, and ran ptestlong again. It still fails.
> >>
> >> Log for failed tests below.
> >>
> >> Regards,
> >>
> >> Andy
> >>
> >>
> >> sage -t --long --warn-long 39.4 src/sage/repl/attach.py
> >>
> **
>
> >> File "src/sage/repl/attach.py", line 171, in
> >> sage.repl.attach.load_attach_path
> >> Failed example:
> >>     attach('test.py')
> >> Expected:
> >>     Traceback (most recent call last):
> >>     ...
> >>     IOError: did not find file 'test.py' to load or attach
> >> Got:
> >>     
> >>     Traceback (most recent call last):
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> >> line 659, in _run
> >>         self.compile_and_execute(example, compiler, test.globs)
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> >> line 1070, in compile_and_execute
> >>         exec(compiled, globs)
> >>       File "",
> line 1, in
> >> 
> >>         attach('test.py')
> >>       File "sage/misc/lazy_import.pyx", line 354, in
> >> sage.misc.lazy_import.LazyImport.__call__
> >> (build/cythonized/sage/misc/lazy_import.c:3759)
> >>         return self.get_object()(*args, **kwds)
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>
> >> line 349, in attach
> >>         load(filename, globals(), attach=True)
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>
> >> line 243, in load
> >>         exec(code, globals)
> >>       File "./test.py", line 4, in 
> >>         h=e^-x
> >>     NameError: name 'e' is not defined
> >>
> **
>
> >> File "src/sage/repl/attach.py", line 176, in
> >> sage.repl.attach.load_attach_path
> >> Failed example:
> >>     attach('test.py')
> >> Exception raised:
> >>     Traceback (most recent call last):
> >>       File
> >>
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py&qu

Re: [sage-release] Sage 8.4.beta5 released

2018-09-16 Thread Andy Howell
Steven,

Thanks for confirming I'm an idiot:) I did have a test.py in there.
Sorry for the noise. Re-running the tests to make sure, but its almost
certainly my fault.

Andy


On 09/16/2018 09:42 PM, Steven Trogdon wrote:
> Just guessing, but do you by chance have the file 'test.py' in
> SAGE_ROOT? I think that's where it's looking. If so, remove it and
> repeat the tests.
>
> On Sunday, September 16, 2018 at 3:38:44 PM UTC-5, Andy Howell wrote:
>
> I'm getting two tests failing on Ubuntu 18.04.1 LTS
>
> sage -t --long --warn-long 39.4 src/sage/repl/attach.py  # 7
> doctests failed
> sage -t --long --warn-long 39.4 src/sage/repl/load.py  # 1 doctest
> failed
>
> I did an incremental build and the test failed. I did a distclean,
> rebuild, and ran ptestlong again. It still fails.
>
> Log for failed tests below.
>
> Regards,
>
> Andy
>
>
> sage -t --long --warn-long 39.4 src/sage/repl/attach.py
> **
>
> File "src/sage/repl/attach.py", line 171, in
> sage.repl.attach.load_attach_path
> Failed example:
>     attach('test.py')
> Expected:
>     Traceback (most recent call last):
>     ...
>     IOError: did not find file 'test.py' to load or attach
> Got:
>     
>     Traceback (most recent call last):
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 659, in _run
>     self.compile_and_execute(example, compiler, test.globs)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 1070, in compile_and_execute
>     exec(compiled, globs)
>   File "", line
> 1, in
> 
>     attach('test.py')
>   File "sage/misc/lazy_import.pyx", line 354, in
> sage.misc.lazy_import.LazyImport.__call__
> (build/cythonized/sage/misc/lazy_import.c:3759)
>     return self.get_object()(*args, **kwds)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>
> line 349, in attach
>     load(filename, globals(), attach=True)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>
> line 243, in load
>     exec(code, globals)
>   File "./test.py", line 4, in 
>     h=e^-x
>     NameError: name 'e' is not defined
> **
>
> File "src/sage/repl/attach.py", line 176, in
> sage.repl.attach.load_attach_path
> Failed example:
>     attach('test.py')
> Exception raised:
>     Traceback (most recent call last):
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 659, in _run
>     self.compile_and_execute(example, compiler, test.globs)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
>
> line 1070, in compile_and_execute
>     exec(compiled, globs)
>   File "", line
> 1, in
> 
>     attach('test.py')
>   File "sage/misc/lazy_import.pyx", line 354, in
> sage.misc.lazy_import.LazyImport.__call__
> (build/cythonized/sage/misc/lazy_import.c:3759)
>     return self.get_object()(*args, **kwds)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
>
> line 349, in attach
>     load(filename, globals(), attach=True)
>   File
> 
> "/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
>
> line 243, in load
>     exec(code, globals)
>   File "./test.py", line 4, in 
>     h=e^-x
>     NameError: name 'e' is not defined
> **
>
> File "src/sage/repl/attach.py", line 178, in
> sage.repl.attach.load_attach_path
> Failed example:
>     attached_files() == [fullpath]
> Expected:
>     True
> Got:
>     False
> ***

Re: [sage-release] Sage 8.4.beta5 released

2018-09-16 Thread Andy Howell
I'm getting two tests failing on Ubuntu 18.04.1 LTS

sage -t --long --warn-long 39.4 src/sage/repl/attach.py  # 7 doctests failed
sage -t --long --warn-long 39.4 src/sage/repl/load.py  # 1 doctest failed

I did an incremental build and the test failed. I did a distclean,
rebuild, and ran ptestlong again. It still fails.

Log for failed tests below.

Regards,

Andy


sage -t --long --warn-long 39.4 src/sage/repl/attach.py
**
File "src/sage/repl/attach.py", line 171, in
sage.repl.attach.load_attach_path
Failed example:
    attach('test.py')
Expected:
    Traceback (most recent call last):
    ...
    IOError: did not find file 'test.py' to load or attach
Got:
    
    Traceback (most recent call last):
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 659, in _run
    self.compile_and_execute(example, compiler, test.globs)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1070, in compile_and_execute
    exec(compiled, globs)
  File "", line 1, in

    attach('test.py')
  File "sage/misc/lazy_import.pyx", line 354, in
sage.misc.lazy_import.LazyImport.__call__
(build/cythonized/sage/misc/lazy_import.c:3759)
    return self.get_object()(*args, **kwds)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
line 349, in attach
    load(filename, globals(), attach=True)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
line 243, in load
    exec(code, globals)
  File "./test.py", line 4, in 
    h=e^-x
    NameError: name 'e' is not defined
**
File "src/sage/repl/attach.py", line 176, in
sage.repl.attach.load_attach_path
Failed example:
    attach('test.py')
Exception raised:
    Traceback (most recent call last):
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 659, in _run
    self.compile_and_execute(example, compiler, test.globs)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1070, in compile_and_execute
    exec(compiled, globs)
  File "", line 1, in

    attach('test.py')
  File "sage/misc/lazy_import.pyx", line 354, in
sage.misc.lazy_import.LazyImport.__call__
(build/cythonized/sage/misc/lazy_import.c:3759)
    return self.get_object()(*args, **kwds)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/attach.py",
line 349, in attach
    load(filename, globals(), attach=True)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
line 243, in load
    exec(code, globals)
  File "./test.py", line 4, in 
    h=e^-x
    NameError: name 'e' is not defined
**
File "src/sage/repl/attach.py", line 178, in
sage.repl.attach.load_attach_path
Failed example:
    attached_files() == [fullpath]
Expected:
    True
Got:
    False
**
File "src/sage/repl/attach.py", line 183, in
sage.repl.attach.load_attach_path
Failed example:
    load('test.py')
Expected:
    Traceback (most recent call last):
    ...
    IOError: did not find file 'test.py' to load or attach
Got:
    
    Traceback (most recent call last):
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 659, in _run
    self.compile_and_execute(example, compiler, test.globs)
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/forker.py",
line 1070, in compile_and_execute
    exec(compiled, globs)
  File "", line 1, in

    load('test.py')
  File "sage/misc/persist.pyx", line 136, in sage.misc.persist.load
(build/cythonized/sage/misc/persist.c:2440)
    sage.repl.load.load(filename, globals())
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/repl/load.py",
line 243, in load
    exec(code, globals)
  File "./test.py", line 4, in 
    h=e^-x
  File "sage/structure/element.pyx", line 955, in
sage.structure.element.Element.__xor__
(build/cythonized/sage/structure/element.c:9013)
    raise RuntimeError("Use ** for exponentiation, not '^', which
means xor\n"+\
    RuntimeError: Use ** for exponentiation, not '^', which means xor
    in Python, and has the wrong precedence.
**
File "src/sage/repl/attach.py", line 436, in sage.repl.attach.detach
Failed example:
    attach('test.py')
Exception raised:
    Traceback (most recent call last):
  File
"/home/andy/src/sagemath/sage/local/lib/python2.7/site-packages/sage/doctest/f