The %check section of python-html5lib is commented out with the note "we need python-webencodings packaged". That package is in Fedora now. However, the tests fail when %check uncommented.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
https://src.fedoraproject.org/rpms/python-html5lib/pull-request/2 I managed to get basic tests run. Needed to hack around missing pytest-expect. (Would appreciate a review of that.) Will try to package pytest-expect (probably py3 only tough, keeping the hack for python2).
Let's keep this open before we unhack it (at least on py3).
https://src.fedoraproject.org/rpms/python-html5lib/c/4bf006ca4bff80e8b167803e2a6f88e46ab1a9c7?branch=master https://koji.fedoraproject.org/koji/taskinfo?taskID=29215139 This is rawhide. Will do f29 as well as soon as the f29 branch is created for new dependencies.
https://koji.fedoraproject.org/koji/taskinfo?taskID=29215370