A patchbot error I do not understand

17 views
Skip to first unread message

Emmanuel Charpentier

unread,
Aug 18, 2021, 4:07:34 AM8/18/21
to sage-devel

I am working on Trac#10038, and, so far, two patchbots fail to build (for lack of pynac-config.h) and two other build successfully but fail one doctest :

*********************************************************************
File "src/sage/doctest/sources.py", line 764, in sage.doctest.sources.FileDocTestSource._test_enough_doctests
Failed example:
    for path, dirs, files in itertools.chain(os.walk('sage'), os.walk('doc')): # long time
        path = os.path.relpath(path)
        dirs.sort(); files.sort()
        for F in files:
            _, ext = os.path.splitext(F)
            if ext in ('.py', '.pyx', '.pxd', '.pxi', '.sage', '.spyx', '.rst'):
                filename = os.path.join(path, F)
                FDS = FileDocTestSource(filename, DocTestDefaults(long=True, optional=True, force_lib=True))
                FDS._test_enough_doctests(verbose=False)
Expected:
    There are 3 unexpected tests being run in sage/doctest/parsing.py
    There are 1 unexpected tests being run in sage/doctest/reporting.py
Got:
    There are 3 unexpected tests being run in sage/doctest/parsing.py
    There are 1 unexpected tests being run in sage/doctest/reporting.py
    There are 9 tests in sage/symbolic/expression.pyx that are not being run
**********************************************************************

I do not understand this error. Could some kind soul give me an explanation ?

Reply all
Reply to author
Forward
0 new messages