Skip to content

tests are failing #3

Open
Open
@mr-c

Description

@mr-c

Thank you for including the tests in html5rdf 1.2.1, however they are failing.

I git bisected it to 7a9f42d

When I run pytest --pdb I see failures like

html5rdf/tests/tokenizer.py:242: in runtest
    assert tokensMatch(expected, received, ignoreErrorOrder, True), errorMsg
E   AssertionError: 
E   
E   Initial state:
E   dataState
E   
E   Input:
E   <!DOCTYPE>
E   
E   Expected:
E   [['DOCTYPE', None, None, None, False]]
E   
E   received:
E   ['ParseError', 'ParseError', ['DOCTYPE', '', None, None, False]]

In addition, another error prevents pytest from showing the errors when not using --pdb, as see in the GitHub Actions runs here:
https://github.com/RDFLib/html5rdf/actions/runs/11587293764/job/32259253810#step:9:604

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions