Hi, I think that's due to some scraping protection by cloudflare. However, this file doesn't need to be there and I've put it in the "files" subdirectory of the website. I think that's a robust location and suiteable for this. E.g. here I'm downloading it via curl in linux, which I assume should work from within sage, too
$ curl https://www.sagemath.org/files/loadtest.py print "hi from the net" print 2+3 I've no idea what "test.sobj" is. -- harald On Saturday, August 25, 2018 at 3:23:38 PM UTC+2, Sébastien Labbé wrote: > > Hi, > > The goal of ticket #25535 is to make the following work: > > sage -t --optional=sage,internet src/sage/repl/load.py > > There is one issue being the failure of the doctest: > > sage: sage.repl.load.load('http://wstein.org/loadtest.py', > globals()) # optional - internet > > Something has changed with that file or with the way to access it because > it downloads not a Python file but rather an error message html file > containing expressions like "Access denied | wstein.org used Cloudflare > to restrict access" and "The owner of this website (wstein.org) has > banned your access based on your browser's signature.". > > See https://trac.sagemath.org/ticket/25535 for details. > > William, if you are reading this, do you understand the issue? Can you > make something on your side to make the doctest work again? > > Cheers, > > Sébastien > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.