make sure there's a newline before each 'File: ' heading

pull/255/head
C. Titus Brown 2018-03-11 07:28:49 -07:00
rodzic acae7f9053
commit 4e8f5eb038
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -202,7 +202,7 @@ for root, _, files in os.walk(os.path.join('..', '..', 'tests')):
continue
header = files.pop(files.index('README.rst'))
with open(os.path.join(root, header), 'r') as ff:
this_s = ff.read() + '\n'
this_s = ff.read() + '\n\n'
title = this_s.split('\n')[0]
for ifile in files:
filename = os.path.basename(ifile)