+
Skip to content

Test failures with pygments 2.19.1 #60

Open
@apteryks

Description

@apteryks

Hello!

I'm seeing these test failures on the latest release 0.6.3:

tests/test_core.py::test_lines_with_gaps PASSED                          [  4%]
tests/test_core.py::test_markers PASSED                                  [  9%]
tests/test_core.py::test_invalid_converter PASSED                        [ 14%]
tests/test_core.py::test_variables PASSED                                [ 19%]
tests/test_core.py::test_pieces PASSED                                   [ 23%]
tests/test_core.py::test_skipping_frames PASSED                          [ 28%]
tests/test_core.py::test_sys_modules PASSED                              [ 33%]
tests/test_core.py::test_invalid_source PASSED                           [ 38%]
tests/test_core.py::test_absolute_filename PASSED                        [ 42%]
tests/test_core.py::test_executing_style_defs[.c { color: #(999999|ababab); font-style: italic }] FAILED [ 47%]
tests/test_core.py::test_executing_style_defs[.err { color: #a61717; background-color: #e3d2d2 }] FAILED [ 52%]
tests/test_core.py::test_executing_style_defs[.c-ExecutingNode { color: #(999999|ababab); font-style: italic; background-color: #ffff00 }] FAILED [ 57%]
tests/test_core.py::test_executing_style_defs[.err-ExecutingNode { color: #a61717; background-color: #ffff00 }] FAILED [ 61%]
tests/test_core.py::test_example PASSED                                  [ 66%]
tests/test_core.py::test_pygments_example FAILED                         [ 71%]
tests/test_formatter.py::test_example PASSED                             [ 76%]
tests/test_formatter.py::test_invalid_single_option PASSED               [ 80%]
tests/test_serializer.py::test_example FAILED                            [ 85%]
tests/test_utils.py::test_collapse_repeated PASSED                       [ 90%]
tests/test_utils.py::test_highlight_unique_properties PASSED             [ 95%]
tests/test_utils.py::test_cached_property_from_class PASSED              [100%]

Attached is the complete build log.
python-stack-data-0.6.3-build-log.txt

The inputs used are:

python-asttokens@2.4.1 python-cython@0.29.32 python-executing@2.1.0 python-littleutils@0.2.2
+ python-pure-eval@0.2.3 python-pygments@2.19.1 python-pytest@8.3.3 python-setuptools-scm@7.1.0
+ python-setuptools@67.6.1 python-typeguard@4.4.1 python-wheel@0.40.0

Reverting to pygments 2.15.1 fixes the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载