Skip to content

Commit 19107bc

Browse files
committed
style: satisfy ruff format in the new source_language test
1 parent afbcae7 commit 19107bc

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎tests/test_intl/test_intl.py‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -878,9 +878,7 @@ def test_source_language_lang_attr(app: SphinxTestApp) -> None:
878878
assert 'lang' not in extract_element(doctree, 0, 2)
879879

880880
# the attribute reaches the HTML output
881-
result = (app.outdir / 'translation_progress.html').read_text(
882-
encoding='utf8'
883-
)
881+
result = (app.outdir / 'translation_progress.html').read_text(encoding='utf8')
884882
assert '<p class="untranslated" lang="en">' in result
885883
assert result.count(' lang="en"') >= 4
886884

0 commit comments

Comments
 (0)