| |
@@ -5,8 +5,8 @@
|
| |
themes.append('alabaster')
|
| |
|
| |
# test Theme class API
|
| |
- - assert set(app.html_themes.keys()) == set(themes)
|
| |
- + assert set(app.html_themes.keys()) >= set(themes)
|
| |
- assert app.html_themes['test-theme'] == app.srcdir / 'test_theme' / 'test-theme'
|
| |
- assert app.html_themes['ziptheme'] == app.srcdir / 'ziptheme.zip'
|
| |
- assert app.html_themes['staticfiles'] == app.srcdir / 'test_theme' / 'staticfiles'
|
| |
+ - assert set(app.registry.html_themes.keys()) == set(themes)
|
| |
+ + assert set(app.registry.html_themes.keys()) >= set(themes)
|
| |
+ assert app.registry.html_themes['test-theme'] == app.srcdir / 'test_theme' / 'test-theme'
|
| |
+ assert app.registry.html_themes['ziptheme'] == app.srcdir / 'ziptheme.zip'
|
| |
+ assert app.registry.html_themes['staticfiles'] == app.srcdir / 'test_theme' / 'staticfiles'
|
| |
The impact was checked with the new Pygments in its copr repo. Sphinx builds fine with them and I have not identified any failures related to this update.