Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed doctree2md adding extra header level #10

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

clayrisser
Copy link

This bug is documented in issue #9

Copy link
Owner

@matthew-brett matthew-brett left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. Do the tests all pass? If so, would you mind adding a test that will fail with the old behavior and pass with the new?

By the way - I hackishly put this in here, because I had problem with multiple top-level headings, I forget where now, whether in the notebooks, or in the built Markdown. So, for full glory, I'd love a configuration flag to set whether I get the old or the new behavior.

@clayrisser
Copy link
Author

Without my change, 5 of the tests are already failing.

Apologies in advance for dumping the test stack trace here.

py.test --pyargs nb2plots
================ test session starts ================
platform linux -- Python 3.6.6, pytest-4.0.0, py-1.7.0, pluggy-0.8.0
rootdir: /home/codejamninja/Projects/nb2plots, inifile:
collected 117 items                                 

nb2plots/tests/test_builders.py ..........    [  8%]
nb2plots/tests/test_codelinks.py ...                                                                                                                                                                  [ 11%]
nb2plots/tests/test_config.py .                                                                                                                                                                       [ 11%]
nb2plots/tests/test_converters.py .                                                                                                                                                                   [ 12%]
nb2plots/tests/test_doctree2md.py .....                                                                                                                                                               [ 17%]
nb2plots/tests/test_doctree2nb.py ........                                                                                                                                                            [ 23%]
nb2plots/tests/test_doctree2py.py ..                                                                                                                                                                  [ 25%]
nb2plots/tests/test_from_notebook.py ......                                                                                                                                                           [ 30%]
nb2plots/tests/test_mpl_interactive.py .                                                                                                                                                              [ 31%]
nb2plots/tests/test_nbplots.py .............. [ 43%]
.................................                                                                                                                                                                     [ 71%]
nb2plots/tests/test_proj1.py .....                                                                                                                                                                    [ 76%]
nb2plots/tests/test_regression.py .                                                                                                                                                                   [ 76%]
nb2plots/tests/test_runroles.py ..........    [ 85%]
nb2plots/tests/test_scripts.py FFFFF          [ 89%]
nb2plots/tests/test_sphinx2md.py ..           [ 91%]
nb2plots/tests/test_strdiff.py .              [ 92%]
nb2plots/tests/test_timeout.py .........      [100%]

===================== FAILURES ======================
____________________ test_rst2md ____________________

    @script_test
    def test_rst2md():
        # test rst2md script over all .rst files checking against .md files
        for rst_fname in glob(pjoin(DATA_PATH, '*.rst')):
            md_fname = rst_fname[:-3] + 'md'
            with open(md_fname, 'rb') as fobj:
                expected_md = fobj.read()
            # Skip files containing text "skip".  These are files for which the
            # source ReST is not valid in plain docutils, such as those containing
            # Sphinx directives and roles.
            if expected_md.strip() == b'skip':
                continue
            cmd = ['rst2md', rst_fname]
>           code, stdout, stderr = run_command(cmd)

nb2plots/tests/test_scripts.py:43: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <scripttester.scripttester.ScriptTester object at 0x7f4e57a02940>
cmd = ['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/rst2md', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sections.rst']
check_code = True

    def run_command(self, cmd, check_code=True):
        """ Run command sequence `cmd` returning exit code, stdout, stderr
    
        Parameters
        ----------
        cmd : str or sequence
            string with command name or sequence of strings defining command
        check_code : {True, False}, optional
            If True, raise error for non-zero return code
    
        Returns
        -------
        returncode : int
            return code from execution of `cmd`
        stdout : bytes (python 3) or str (python 2)
            stdout from `cmd`
        stderr : bytes (python 3) or str (python 2)
            stderr from `cmd`
        """
        cmd = [cmd] if isinstance(cmd, string_types) else list(cmd)
        using_sys_path = self.local_script_dir is None
        if not using_sys_path:
            # Windows can't run script files without extensions natively so we need
            # to run local scripts (no extensions) via the Python interpreter.  On
            # Unix, we might have the wrong incantation for the Python interpreter
            # in the hash bang first line in the source file.  So, either way, run
            # the script through the Python interpreter
            cmd = [sys.executable,
                   pjoin(self.local_script_dir, cmd[0])] + cmd[1:]
        elif os.name == 'nt':
            # Must add extension to find on path with Windows
            cmd[0] = cmd[0] + self.win_bin_ext
        if os.name == 'nt':
            # Quote any arguments with spaces. The quotes delimit the arguments
            # on Windows, and the arguments might be file paths with spaces.
            # On Unix the list elements are each separate arguments.
            cmd = ['"{0}"'.format(c) if ' ' in c else c for c in cmd]
        if self.debug_print:
            print("Running command '%s'" % cmd)
        env = os.environ
        if using_sys_path and self.local_module_dir:
            # module likely comes from the current working directory. We might
            # need that directory on the path if we're running the scripts from
            # a temporary directory.
            env = env.copy()  # Modifying env, make temporary copy.
            pypath = env.get('PYTHONPATH', None)
            if pypath is None:
                env['PYTHONPATH'] = self.local_module_dir
            else:
                env['PYTHONPATH'] = self.local_module_dir + pathsep + pypath
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, env=env)
        stdout, stderr = proc.communicate()
        if proc.poll() == None:
            proc.terminate()
        if check_code and proc.returncode != 0:
            raise RuntimeError(
                """Command "{0}" failed with
                stdout
                ------
                {1}
                stderr
                ------
                {2}
>               """.format(cmd, stdout, stderr))
E           RuntimeError: Command "['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/rst2md', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sections.rst']" failed with
E                           stdout
E                           ------
E                           b''
E                           stderr
E                           ------
E                           b'Traceback (most recent call last):\n  File "/home/codejamninja/Projects/nb2plots/scripts/rst2md", line 18, in <module>\n    from nb2plots.doctree2md import Writer\nModuleNotFoundError: No module named \'nb2plots\'\n'

env/lib/python3.6/site-packages/scripttester/scripttester.py:202: RuntimeError
__________________ test_sphinx2md ___________________

    @script_test
    def test_sphinx2md():
        # test sphinx2md script over all .rst files checking against .smd / .md
        # files
        for rst_fname in glob(pjoin(DATA_PATH, '*.rst')):
            # Try .smd filename first, otherwise ordinary .md
            md_fname = rst_fname[:-3] + 'smd'
            if not exists(md_fname):
                md_fname = rst_fname[:-3] + 'md'
            expected_md = fcontents(md_fname)
            cmd = ['sphinx2md', rst_fname]
>           code, stdout, stderr = run_command(cmd)

nb2plots/tests/test_scripts.py:58: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <scripttester.scripttester.ScriptTester object at 0x7f4e57a02940>
cmd = ['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/sphinx2md', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sections.rst']
check_code = True

    def run_command(self, cmd, check_code=True):
        """ Run command sequence `cmd` returning exit code, stdout, stderr
    
        Parameters
        ----------
        cmd : str or sequence
            string with command name or sequence of strings defining command
        check_code : {True, False}, optional
            If True, raise error for non-zero return code
    
        Returns
        -------
        returncode : int
            return code from execution of `cmd`
        stdout : bytes (python 3) or str (python 2)
            stdout from `cmd`
        stderr : bytes (python 3) or str (python 2)
            stderr from `cmd`
        """
        cmd = [cmd] if isinstance(cmd, string_types) else list(cmd)
        using_sys_path = self.local_script_dir is None
        if not using_sys_path:
            # Windows can't run script files without extensions natively so we need
            # to run local scripts (no extensions) via the Python interpreter.  On
            # Unix, we might have the wrong incantation for the Python interpreter
            # in the hash bang first line in the source file.  So, either way, run
            # the script through the Python interpreter
            cmd = [sys.executable,
                   pjoin(self.local_script_dir, cmd[0])] + cmd[1:]
        elif os.name == 'nt':
            # Must add extension to find on path with Windows
            cmd[0] = cmd[0] + self.win_bin_ext
        if os.name == 'nt':
            # Quote any arguments with spaces. The quotes delimit the arguments
            # on Windows, and the arguments might be file paths with spaces.
            # On Unix the list elements are each separate arguments.
            cmd = ['"{0}"'.format(c) if ' ' in c else c for c in cmd]
        if self.debug_print:
            print("Running command '%s'" % cmd)
        env = os.environ
        if using_sys_path and self.local_module_dir:
            # module likely comes from the current working directory. We might
            # need that directory on the path if we're running the scripts from
            # a temporary directory.
            env = env.copy()  # Modifying env, make temporary copy.
            pypath = env.get('PYTHONPATH', None)
            if pypath is None:
                env['PYTHONPATH'] = self.local_module_dir
            else:
                env['PYTHONPATH'] = self.local_module_dir + pathsep + pypath
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, env=env)
        stdout, stderr = proc.communicate()
        if proc.poll() == None:
            proc.terminate()
        if check_code and proc.returncode != 0:
            raise RuntimeError(
                """Command "{0}" failed with
                stdout
                ------
                {1}
                stderr
                ------
                {2}
>               """.format(cmd, stdout, stderr))
E           RuntimeError: Command "['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/sphinx2md', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sections.rst']" failed with
E                           stdout
E                           ------
E                           b''
E                           stderr
E                           ------
E                           b'Traceback (most recent call last):\n  File "/home/codejamninja/Projects/nb2plots/scripts/sphinx2md", line 12, in <module>\n    from nb2plots.commands import do_main\nModuleNotFoundError: No module named \'nb2plots\'\n'

env/lib/python3.6/site-packages/scripttester/scripttester.py:202: RuntimeError
__________________ test_sphinx2nb ___________________

    @script_test
    def test_sphinx2nb():
        # test sphinx2nb script over all .rst files checking against .ipynb files
        for rst_fname in glob(pjoin(DATA_PATH, '*.rst')):
            nb_fname = rst_fname[:-3] + 'ipynb'
            expected = fcontents(nb_fname, 't')
            cmd = ['sphinx2nb', rst_fname]
>           code, stdout, stderr = run_command(cmd)

nb2plots/tests/test_scripts.py:70: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <scripttester.scripttester.ScriptTester object at 0x7f4e57a02940>
cmd = ['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/sphinx2nb', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sections.rst']
check_code = True

    def run_command(self, cmd, check_code=True):
        """ Run command sequence `cmd` returning exit code, stdout, stderr
    
        Parameters
        ----------
        cmd : str or sequence
            string with command name or sequence of strings defining command
        check_code : {True, False}, optional
            If True, raise error for non-zero return code
    
        Returns
        -------
        returncode : int
            return code from execution of `cmd`
        stdout : bytes (python 3) or str (python 2)
            stdout from `cmd`
        stderr : bytes (python 3) or str (python 2)
            stderr from `cmd`
        """
        cmd = [cmd] if isinstance(cmd, string_types) else list(cmd)
        using_sys_path = self.local_script_dir is None
        if not using_sys_path:
            # Windows can't run script files without extensions natively so we need
            # to run local scripts (no extensions) via the Python interpreter.  On
            # Unix, we might have the wrong incantation for the Python interpreter
            # in the hash bang first line in the source file.  So, either way, run
            # the script through the Python interpreter
            cmd = [sys.executable,
                   pjoin(self.local_script_dir, cmd[0])] + cmd[1:]
        elif os.name == 'nt':
            # Must add extension to find on path with Windows
            cmd[0] = cmd[0] + self.win_bin_ext
        if os.name == 'nt':
            # Quote any arguments with spaces. The quotes delimit the arguments
            # on Windows, and the arguments might be file paths with spaces.
            # On Unix the list elements are each separate arguments.
            cmd = ['"{0}"'.format(c) if ' ' in c else c for c in cmd]
        if self.debug_print:
            print("Running command '%s'" % cmd)
        env = os.environ
        if using_sys_path and self.local_module_dir:
            # module likely comes from the current working directory. We might
            # need that directory on the path if we're running the scripts from
            # a temporary directory.
            env = env.copy()  # Modifying env, make temporary copy.
            pypath = env.get('PYTHONPATH', None)
            if pypath is None:
                env['PYTHONPATH'] = self.local_module_dir
            else:
                env['PYTHONPATH'] = self.local_module_dir + pathsep + pypath
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, env=env)
        stdout, stderr = proc.communicate()
        if proc.poll() == None:
            proc.terminate()
        if check_code and proc.returncode != 0:
            raise RuntimeError(
                """Command "{0}" failed with
                stdout
                ------
                {1}
                stderr
                ------
                {2}
>               """.format(cmd, stdout, stderr))
E           RuntimeError: Command "['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/sphinx2nb', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sections.rst']" failed with
E                           stdout
E                           ------
E                           b''
E                           stderr
E                           ------
E                           b'Traceback (most recent call last):\n  File "/home/codejamninja/Projects/nb2plots/scripts/sphinx2nb", line 12, in <module>\n    from nb2plots.commands import do_main\nModuleNotFoundError: No module named \'nb2plots\'\n'

env/lib/python3.6/site-packages/scripttester/scripttester.py:202: RuntimeError
__________________ test_sphinx2py ___________________

    @script_test
    def test_sphinx2py():
        # test sphinx2py script over all .rst files checking against .ipynb files
        for rst_fname in glob(pjoin(DATA_PATH, '*.rst')):
            py_fname = rst_fname[:-3] + 'py'
            expected = fcontents(py_fname, 'b')
            cmd = ['sphinx2py', rst_fname]
>           code, stdout, stderr = run_command(cmd)

nb2plots/tests/test_scripts.py:82: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <scripttester.scripttester.ScriptTester object at 0x7f4e57a02940>
cmd = ['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/sphinx2py', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sections.rst']
check_code = True

    def run_command(self, cmd, check_code=True):
        """ Run command sequence `cmd` returning exit code, stdout, stderr
    
        Parameters
        ----------
        cmd : str or sequence
            string with command name or sequence of strings defining command
        check_code : {True, False}, optional
            If True, raise error for non-zero return code
    
        Returns
        -------
        returncode : int
            return code from execution of `cmd`
        stdout : bytes (python 3) or str (python 2)
            stdout from `cmd`
        stderr : bytes (python 3) or str (python 2)
            stderr from `cmd`
        """
        cmd = [cmd] if isinstance(cmd, string_types) else list(cmd)
        using_sys_path = self.local_script_dir is None
        if not using_sys_path:
            # Windows can't run script files without extensions natively so we need
            # to run local scripts (no extensions) via the Python interpreter.  On
            # Unix, we might have the wrong incantation for the Python interpreter
            # in the hash bang first line in the source file.  So, either way, run
            # the script through the Python interpreter
            cmd = [sys.executable,
                   pjoin(self.local_script_dir, cmd[0])] + cmd[1:]
        elif os.name == 'nt':
            # Must add extension to find on path with Windows
            cmd[0] = cmd[0] + self.win_bin_ext
        if os.name == 'nt':
            # Quote any arguments with spaces. The quotes delimit the arguments
            # on Windows, and the arguments might be file paths with spaces.
            # On Unix the list elements are each separate arguments.
            cmd = ['"{0}"'.format(c) if ' ' in c else c for c in cmd]
        if self.debug_print:
            print("Running command '%s'" % cmd)
        env = os.environ
        if using_sys_path and self.local_module_dir:
            # module likely comes from the current working directory. We might
            # need that directory on the path if we're running the scripts from
            # a temporary directory.
            env = env.copy()  # Modifying env, make temporary copy.
            pypath = env.get('PYTHONPATH', None)
            if pypath is None:
                env['PYTHONPATH'] = self.local_module_dir
            else:
                env['PYTHONPATH'] = self.local_module_dir + pathsep + pypath
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, env=env)
        stdout, stderr = proc.communicate()
        if proc.poll() == None:
            proc.terminate()
        if check_code and proc.returncode != 0:
            raise RuntimeError(
                """Command "{0}" failed with
                stdout
                ------
                {1}
                stderr
                ------
                {2}
>               """.format(cmd, stdout, stderr))
E           RuntimeError: Command "['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/sphinx2py', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sections.rst']" failed with
E                           stdout
E                           ------
E                           b''
E                           stderr
E                           ------
E                           b'Traceback (most recent call last):\n  File "/home/codejamninja/Projects/nb2plots/scripts/sphinx2py", line 12, in <module>\n    from nb2plots.commands import do_main\nModuleNotFoundError: No module named \'nb2plots\'\n'

env/lib/python3.6/site-packages/scripttester/scripttester.py:202: RuntimeError
_________________ test_sphinx2pxml __________________

    @script_test
    def test_sphinx2pxml():
        rst_fname = pjoin(DATA_PATH, 'sect_text.rst')
        cmd = ['sphinx2pxml', rst_fname]
>       code, stdout, stderr = run_command(cmd)

nb2plots/tests/test_scripts.py:91: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <scripttester.scripttester.ScriptTester object at 0x7f4e57a02940>
cmd = ['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/sphinx2pxml', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sect_text.rst']
check_code = True

    def run_command(self, cmd, check_code=True):
        """ Run command sequence `cmd` returning exit code, stdout, stderr
    
        Parameters
        ----------
        cmd : str or sequence
            string with command name or sequence of strings defining command
        check_code : {True, False}, optional
            If True, raise error for non-zero return code
    
        Returns
        -------
        returncode : int
            return code from execution of `cmd`
        stdout : bytes (python 3) or str (python 2)
            stdout from `cmd`
        stderr : bytes (python 3) or str (python 2)
            stderr from `cmd`
        """
        cmd = [cmd] if isinstance(cmd, string_types) else list(cmd)
        using_sys_path = self.local_script_dir is None
        if not using_sys_path:
            # Windows can't run script files without extensions natively so we need
            # to run local scripts (no extensions) via the Python interpreter.  On
            # Unix, we might have the wrong incantation for the Python interpreter
            # in the hash bang first line in the source file.  So, either way, run
            # the script through the Python interpreter
            cmd = [sys.executable,
                   pjoin(self.local_script_dir, cmd[0])] + cmd[1:]
        elif os.name == 'nt':
            # Must add extension to find on path with Windows
            cmd[0] = cmd[0] + self.win_bin_ext
        if os.name == 'nt':
            # Quote any arguments with spaces. The quotes delimit the arguments
            # on Windows, and the arguments might be file paths with spaces.
            # On Unix the list elements are each separate arguments.
            cmd = ['"{0}"'.format(c) if ' ' in c else c for c in cmd]
        if self.debug_print:
            print("Running command '%s'" % cmd)
        env = os.environ
        if using_sys_path and self.local_module_dir:
            # module likely comes from the current working directory. We might
            # need that directory on the path if we're running the scripts from
            # a temporary directory.
            env = env.copy()  # Modifying env, make temporary copy.
            pypath = env.get('PYTHONPATH', None)
            if pypath is None:
                env['PYTHONPATH'] = self.local_module_dir
            else:
                env['PYTHONPATH'] = self.local_module_dir + pathsep + pypath
        proc = Popen(cmd, stdout=PIPE, stderr=PIPE, env=env)
        stdout, stderr = proc.communicate()
        if proc.poll() == None:
            proc.terminate()
        if check_code and proc.returncode != 0:
            raise RuntimeError(
                """Command "{0}" failed with
                stdout
                ------
                {1}
                stderr
                ------
                {2}
>               """.format(cmd, stdout, stderr))
E           RuntimeError: Command "['/home/codejamninja/Projects/nb2plots/env/bin/python3', '/home/codejamninja/Projects/nb2plots/scripts/sphinx2pxml', '/home/codejamninja/Projects/nb2plots/nb2plots/tests/rst_md_files/sect_text.rst']" failed with
E                           stdout
E                           ------
E                           b''
E                           stderr
E                           ------
E                           b'Traceback (most recent call last):\n  File "/home/codejamninja/Projects/nb2plots/scripts/sphinx2pxml", line 12, in <module>\n    from nb2plots.commands import do_main\nModuleNotFoundError: No module named \'nb2plots\'\n'

env/lib/python3.6/site-packages/scripttester/scripttester.py:202: RuntimeError
================= warnings summary ==================
nb2plots/tests/test_builders.py::TestMarkdownBuild::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/jupyter_client/manager.py:72: DeprecationWarning: KernelManager._kernel_name_changed is deprecated in traitlets 4.1: use @observe and @unobserve instead.
    def _kernel_name_changed(self, name, old, new):

nb2plots/tests/test_builders.py::TestBasedMarkdownBuild::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)

nb2plots/tests/test_builders.py::TestPythonBuild::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_builders.py::TestBasedPythonBuild::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_builders.py::TestLatexBuild::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_codelinks.py::test_codelinks
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_codelinks.py::TestSubdirCodeLinks::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_converters.py::test_converter
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_doctree2nb.py::test_basic
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_doctree2nb.py::test_runrole_reference
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_doctree2nb.py::test_only
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_doctree2nb.py::test_doctests
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_doctree2nb.py::test_nbplots
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_doctree2nb.py::test_example_files
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_doctree2nb.py::test_notebook_basic
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_doctree2nb.py::test_default_mathdollar
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)

nb2plots/tests/test_doctree2py.py::test_example_files
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_from_notebook.py::test_simple_cells
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/nbconvert/utils/pandoc.py:52: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
  Your version must be at least (1.12.1) but less than (2.0.0).
  Refer to http://pandoc.org/installing.html.
  Continuing with doubts...
    check_pandoc_version()

nb2plots/tests/test_from_notebook.py::test_small
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/nbconvert/utils/pandoc.py:52: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
  Your version must be at least (1.12.1) but less than (2.0.0).
  Refer to http://pandoc.org/installing.html.
  Continuing with doubts...
    check_pandoc_version()
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/nbconvert/utils/pandoc.py:52: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
  Your version must be at least (1.12.1) but less than (2.0.0).
  Refer to http://pandoc.org/installing.html.
  Continuing with doubts...
    check_pandoc_version()

nb2plots/tests/test_mpl_interactive.py::test_mpl_interactive
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestNbplots::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestDefaultSource::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestAnnoyingParens::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestDefaultContext::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestDefaultContext::test_rebuild_context
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestRcparams::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestDefaultPre::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestNonDefaultPre::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestHiddenDoctests::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestMoreDoctests::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestNoRaises::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestRaisesOption::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestReference::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestFlags::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestFlagsConfig::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestWithoutSkip::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestWithoutSkipDoctest::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestWithoutSkipStructure::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestWithSkip::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestWithSkipStructure::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestWithSkipDoctest::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestOtherWD::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestClearNotebook::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestHideShow::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestHideShowTests::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_nbplots.py::TestHideShowHtml::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_proj1.py::TestProj1::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_proj1.py::TestNotSameName::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_proj1.py::TestSameNameIpy::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_proj1.py::TestSameNamePy::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_regression.py::test_regression
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/nbconvert/utils/pandoc.py:52: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
  Your version must be at least (1.12.1) but less than (2.0.0).
  Refer to http://pandoc.org/installing.html.
  Continuing with doubts...
    check_pandoc_version()
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/nbconvert/utils/pandoc.py:52: RuntimeWarning: You are using an unsupported version of pandoc (2.2.1).
  Your version must be at least (1.12.1) but less than (2.0.0).
  Refer to http://pandoc.org/installing.html.
  Continuing with doubts...
    check_pandoc_version()
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_runroles.py::test_runrole_doctrees
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_runroles.py::TestSubdirBuild::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_runroles.py::TestPyfileAlias::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_runroles.py::TestDuplicatesOK::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_runroles.py::TestDuplicatesNotOK::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_sphinx2md.py::test_example_files
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)

nb2plots/tests/test_sphinx2md.py::test_default_mathdollar
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:50: RemovedInSphinx30Warning: math node for Sphinx was replaced by docutils'. Please use ``docutils.nodes.math`` instead.
    RemovedInSphinx30Warning)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/sphinx/transforms/post_transforms/compat.py:59: RemovedInSphinx30Warning: Translator for <class 'nb2plots.doctree2py.Translator'> does not support math_block node'. Please update your extension.
    RemovedInSphinx30Warning)

nb2plots/tests/test_timeout.py::TestNoTimeout::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_timeout.py::TestCLOptsTimeout::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_timeout.py::TestFTimeout::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_timeout.py::TestConfTimeout::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_timeout.py::TestConfigCLTimeout::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

nb2plots/tests/test_timeout.py::TestBestTimeout::test_build_error
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)
  /home/codejamninja/Projects/nb2plots/env/lib/python3.6/site-packages/docutils/io.py:245: DeprecationWarning: 'U' mode is deprecated
    self.source = open(source_path, mode, **kwargs)

-- Docs: https://docs.pytest.org/en/latest/warnings.html
 5 failed, 112 passed, 260 warnings in 67.85 seconds 

@clayrisser
Copy link
Author

clayrisser commented Nov 14, 2018

Also, could you explain why you added an extra hash in the .smd files?

It just seems wrong to me.

nb2plots/tests/rst_md_files/subtitle.smd

## A title

### A subtitle

Some text.

### A section

More text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants