From 3779e8b5202220f93c9d7902c7d9a96afe13ac09 Mon Sep 17 00:00:00 2001 From: Anthony Scopatz Date: Sat, 14 Jul 2018 13:40:04 -0500 Subject: [PATCH] test fix --- tests/test_news.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_news.py b/tests/test_news.py index 44513ff33..e1011c092 100644 --- a/tests/test_news.py +++ b/tests/test_news.py @@ -36,11 +36,11 @@ def check_news_file(fname): 'must be one of {}' ''.format(name, i+1, cat, list(CATEGORIES)), pytrace=False) - if l.endswith('None'): + if l.endswith('None'): form += '3' else: form += '2' - elif l.startswith('* ') or l.startswith(' '): + elif l.startswith('* ') or l.startswith('- ') or l.startswith(' '): form += '1' elif l.strip() == '': form += '0'