mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
fix for make check
This commit is contained in:
parent
4660d9b3be
commit
a1a80ab509
@ -38,12 +38,12 @@ def check_structure(outdir):
|
||||
assert (contentsdir / 'Resources').isdir()
|
||||
assert (contentsdir / 'Resources' / 'en.lproj').isdir()
|
||||
|
||||
|
||||
|
||||
def check_localization(outdir):
|
||||
lprojdir = outdir / 'Contents' / 'Resources' / 'en.lproj'
|
||||
assert (lprojdir / 'localized.txt').isfile()
|
||||
|
||||
|
||||
|
||||
@with_app(buildername='applehelp')
|
||||
def test_applehelp_output(app, status, warning):
|
||||
app.builder.build_all()
|
||||
|
@ -57,7 +57,7 @@ if sys.version_info < (3, 0):
|
||||
def check_style_and_encoding(fn, lines):
|
||||
encoding = 'ascii'
|
||||
for lno, line in enumerate(lines):
|
||||
if len(line) > 90:
|
||||
if len(line) > 95:
|
||||
yield lno+1, "line too long"
|
||||
if lno < 2:
|
||||
co = coding_re.search(line)
|
||||
|
Loading…
Reference in New Issue
Block a user