I get 5 failing # optional - rst2ipynb doctests.

log below.

----------------------------------------------------------------------
sage -t --long --warn-long 59.5 src/sage/tests/cmdline.py  # 5 doctests 
failed
----------------------------------------------------------------------




sage -t --long --warn-long 59.5 src/sage/tests/cmdline.py
**********************************************************************
File "src/sage/tests/cmdline.py", line 655, in 
sage.tests.cmdline.test_executable
Failed example:
    print(out)                           # optional - rst2ipynb
Expected:
    {
     "nbformat_minor": ...,
     "nbformat": ...,
     "cells": [
      {
       "source": [
        "$$\n",
        "\\def\\CC{\\bf C}\n",
        "\\def\\QQ{\\bf Q}\n",
        "\\def\\RR{\\bf R}\n",
        "\\def\\ZZ{\\bf Z}\n",
        "\\def\\NN{\\bf N}\n",
        "$$"
       ],
       "cell_type": "markdown",
       "metadata": {}
      },
      {
       "execution_count": null,
       "cell_type": "code",
       "source": [
        "2^10"
       ],
       "outputs": [
        {
         "execution_count": 1,
         "output_type": "execute_result",
         "data": {
          "text/plain": [
           "1024"
          ]
         },
         "metadata": {}
        }
       ],
       "metadata": {}
      },
      {
       "execution_count": null,
       "cell_type": "code",
       "source": [
        "2 + 2"
       ],
       "outputs": [
        {
         "execution_count": 1,
         "output_type": "execute_result",
         "data": {
          "text/plain": [
           "4"
          ]
         },
         "metadata": {}
        }
       ],
       "metadata": {}
      }
     ],
     "metadata": {
      "kernelspec": {
       "display_name": "sagemath",
       "name": "sagemath"
      }
     }
    }
Got:
    <BLANKLINE>
**********************************************************************
File "src/sage/tests/cmdline.py", line 721, in 
sage.tests.cmdline.test_executable
Failed example:
    err                   # optional - rst2ipynb
Expected:
    ''
Got:
    'Traceback (most recent call last):\n  File 
"/home/slabbe/GitBox/sage/local/bin/notedown", line 11, in <module>\n    
load_entry_point(\'notedown==1.5.0\', \'console_scripts\', 
\'notedown\')()\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 561, in load_entry_point\n    return 
get_distribution(dist).load_entry_point(group, name)\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 2631, in load_entry_point\n    return ep.load()\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 2291, in load\n    return self.resolve()\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 2297, in resolve\n    module = __import__(self.module_name, 
fromlist=[\'__name__\'], level=0)\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notedown/__init__.py",
 
line 8, in <module>\n    from .contentsmanager import 
NotedownContentsManager\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notedown/contentsmanager.py",
 
line 8, in <module>\n    from notebook.services.contents.filemanager import 
FileContentsManager\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/services/contents/filemanager.py",
 
line 21, in <module>\n    from .manager import ContentsManager\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/services/contents/manager.py",
 
line 38, in <module>\n    class ContentsManager(LoggingConfigurable):\n  
File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/services/contents/manager.py",
 
line 70, in ContentsManager\n    untitled_notebook = Unicode(_("Untitled"), 
config=True,\nNameError: name \'_\' is not defined\nnotedown failed: 1\n'
**********************************************************************
File "src/sage/tests/cmdline.py", line 723, in 
sage.tests.cmdline.test_executable
Failed example:
    ret                   # optional - rst2ipynb
Expected:
    0
Got:
    1
**********************************************************************
File "src/sage/tests/cmdline.py", line 734, in 
sage.tests.cmdline.test_executable
Failed example:
    test_executable(L)              # optional - rst2ipynb
Expected:
    ('', '', 0)
Got:
    ('',
     'Traceback (most recent call last):\n  File 
"/home/slabbe/GitBox/sage/local/bin/notedown", line 11, in <module>\n    
load_entry_point(\'notedown==1.5.0\', \'console_scripts\', 
\'notedown\')()\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 561, in load_entry_point\n    return 
get_distribution(dist).load_entry_point(group, name)\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 2631, in load_entry_point\n    return ep.load()\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 2291, in load\n    return self.resolve()\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/pkg_resources/__init__.py",
 
line 2297, in resolve\n    module = __import__(self.module_name, 
fromlist=[\'__name__\'], level=0)\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notedown/__init__.py",
 
line 8, in <module>\n    from .contentsmanager import 
NotedownContentsManager\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notedown/contentsmanager.py",
 
line 8, in <module>\n    from notebook.services.contents.filemanager import 
FileContentsManager\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/services/contents/filemanager.py",
 
line 21, in <module>\n    from .manager import ContentsManager\n  File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/services/contents/manager.py",
 
line 38, in <module>\n    class ContentsManager(LoggingConfigurable):\n  
File 
"/home/slabbe/GitBox/sage/local/lib/python2.7/site-packages/notebook/services/contents/manager.py",
 
line 70, in ContentsManager\n    untitled_notebook = Unicode(_("Untitled"), 
config=True,\nNameError: name \'_\' is not defined\nnotedown failed: 1\n',
     1)
**********************************************************************
File "src/sage/tests/cmdline.py", line 736, in 
sage.tests.cmdline.test_executable
Failed example:
    print(open(output, 'r').read()) # optional - rst2ipynb
Expected:
    {
     "nbformat_minor": ...,
     "nbformat": ...,
     "cells": [
      {
       "source": [
        "$$\n",
        "\\def\\CC{\\bf C}\n",
        "\\def\\QQ{\\bf Q}\n",
    ...
     "metadata": {
      "kernelspec": {
       "display_name": "sagemath",
       "name": "sagemath"
      }
     }
    }
Got:
    <BLANKLINE>
**********************************************************************
1 item had failures:
   5 of 251 in sage.tests.cmdline.test_executable
    3 gdb tests not run
    12 internet tests not run
    4 kash tests not run
    [250 tests, 5 failures, 71.39 s]

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to