aboutsummaryrefslogtreecommitdiffstats
path: root/testing/blacklist.py
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-07-12 10:39:42 +0200
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2021-07-20 16:56:48 +0200
commit2654740274986e897427caf667fed93601e01bbd (patch)
tree436d1c4ac49755a18256f57e76f98977fd61eb0e /testing/blacklist.py
parentcd2c32050705d25e648bf8e015b3a1adf4134b05 (diff)
testing: code styling with black
Addressing the long lines, and inconsistencies with double and single quotes. Pick-to: 6.1 Change-Id: I2d18116f0dd9215fa3cfe15482e606fc064f42da Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'testing/blacklist.py')
-rw-r--r--testing/blacklist.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/testing/blacklist.py b/testing/blacklist.py
index 3de29ce05..09848dce4 100644
--- a/testing/blacklist.py
+++ b/testing/blacklist.py
@@ -62,8 +62,8 @@ class BlackList(object):
lines = self.raw_data[:]
def filtered_line(line):
- if '#' in line:
- line = line[line.index('#')]
+ if "#" in line:
+ line = line[line.index("#")]
return line.split()
# now put every bracketed line in a test
@@ -85,7 +85,7 @@ class BlackList(object):
if is_test(fline):
break
# we have a global section
- name = ''
+ name = ""
self.tests[name] = []
for idx, line in enumerate(lines):
fline = filtered_line(line)