{"issue":{"state":"open","created_at":"2011-11-23T13:32:24Z","updated_at":"2011-11-23T21:11:35Z","user":{"gravatar_id":"90e4170f3490c8ad32de1f82d6ef45c3","id":769769,"url":"https://api.github.com/users/veelai","login":"veelai","avatar_url":"https://secure.gravatar.com/avatar/90e4170f3490c8ad32de1f82d6ef45c3?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"On my machine sage-notebook fails its tests with \r\n\r\n<pre>\r\nFile \"/var/tmp/portage/sci-mathematics/sage-notebook-0.8.23/work/sagenb-0.8.23/src/sagenb/sagenb/misc/sageinspect.py\", line 88:\r\n    sage: sage_getdoc(sage.rings.rational.make_rational).lstrip()\r\nExpected:\r\n    \"Make a rational number ...\"\r\nGot:\r\n    'Make a rational number from s (a string in base 32)\\n\\n   INPUT:\\n\\n   * \"s\" - string in base 32\\n\\n   OUTPUT: Rational\\n\\n   EXAMPLES:\\n\\n      sage: (-7/15).str(32)\\n      \\'-7/f\\'\\n      sage: sage.rings.rational.make_rational(\\'-7/f\\')\\n      -7/15\\n'\r\n**********************************************************************\r\nFile \"/var/tmp/portage/sci-mathematics/sage-notebook-0.8.23/work/sagenb-0.8.23/src/sagenb/sagenb/misc/sageinspect.py\", line 102:\r\n    sage: sage_getdoc(sagenb.misc.sageinspect.sage_getfile).lstrip()\r\nExpected:\r\n    \"Get the full file name associated to ``obj`` as a string...\"\r\nGot:\r\n    'Get the full file name associated to \"obj\" as a string.\\n\\n   INPUT: \"obj\", a Sage object, module, etc.\\n\\n   EXAMPLES:\\n\\n      sage: from sagenb.misc.sageinspect import sage_getfile\\n      sage: sage_getfile(sage.rings.rational)[-23:]\\n      \\'sage/rings/rational.pyx\\'\\n      sage: sage_getfile(Sq)[-42:]\\n      \\'sage/algebras/steenrod/steenrod_algebra.py\\'\\n\\n   AUTHOR: - Nick Alexander\\n'\r\n</pre>\r\n\r\nThis looks pretty trivial.","assignee":null,"id":2329622,"labels":[],"number":106,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"sci-mathematics/sage-notebook-0.8.23 fails tests","closed_at":null,"html_url":"https://github.com/cschwan/sage-on-gentoo/issues/106","milestone":null,"url":"https://api.github.com/repos/cschwan/sage-on-gentoo/issues/106"},"action":"created","comment":{"created_at":"2011-11-23T21:11:35Z","updated_at":"2011-11-23T21:11:35Z","user":{"gravatar_id":"298ef88b61458a572920cf4fc144b52d","id":151475,"url":"https://api.github.com/users/kiwifb","login":"kiwifb","avatar_url":"https://secure.gravatar.com/avatar/298ef88b61458a572920cf4fc144b52d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"I had to look very closely to find out what the problem is. Double quotes to single quotes and such. I wonder what caused this. This is indeed trivial but at the same time quite strange. A bell in my head is ringing to the tone of \"locale\", do you have a locale set and if so what is it? It otherwise looks like we need to check the behavior of lstrip.","id":2854901,"url":"https://api.github.com/repos/cschwan/sage-on-gentoo/issues/comments/2854901"}}