Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:FactoryCandidates
python-pymdown-extensions
fix-toc-list-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-toc-list-check.patch of Package python-pymdown-extensions
Index: pymdown-extensions-10.7.1/tests/test_extensions/test_smartsymbols.py =================================================================== --- pymdown-extensions-10.7.1.orig/tests/test_extensions/test_smartsymbols.py +++ pymdown-extensions-10.7.1/tests/test_extensions/test_smartsymbols.py @@ -139,4 +139,6 @@ class TestSmartSymbols(util.MdCase): md = markdown.Markdown(extensions=['toc', 'pymdownx.smartsymbols']) md.convert('# *Foo* =/= `bar`') - self.assertEqual(md.toc_tokens, [{'level': 1, 'id': 'foo-bar', 'name': 'Foo ≠ bar', 'children': []}]) + contains = {'level': 1, 'id': 'foo-bar', 'name': 'Foo ≠ bar', 'children': []} + self.assertEqual(len(md.toc_tokens), 1) + self.assertLessEqual(contains.items(), md.toc_tokens[0].items())
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor