aboutsummaryrefslogtreecommitdiffstats
path: root/testing/blacklist.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/blacklist.py')
-rw-r--r--testing/blacklist.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/blacklist.py b/testing/blacklist.py
index b85dcaba9..432eb86ab 100644
--- a/testing/blacklist.py
+++ b/testing/blacklist.py
@@ -77,7 +77,6 @@ class BlackList(object):
# nothing supplied
return
- self.index = {}
for idx, line in enumerate(lines):
fline = filtered_line(line)
if not fline:
@@ -92,8 +91,8 @@ class BlackList(object):
if is_test(fline):
# a new name
name = decorate(fline[0][1:-1])
- self.tests[name] = []
- self.index[name] = idx
+ # Allow for repeated sections
+ self.tests.setdefault(name, [])
elif fline:
# a known name with a new entry
self.tests[name].append(fline)