fix for make check

This commit is contained in:
shimizukawa 2015-03-10 00:22:02 +09:00
parent 4660d9b3be
commit a1a80ab509
2 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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)