aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2022-03-09 08:19:57 +0100
committerChristian Tismer <tismer@stackless.com>2022-03-09 09:37:50 +0100
commit5e33c3fd708d74c4991746bb88950ec0b0b05832 (patch)
tree863f0ef40537e4ee070d2b8d690ba22811ee5620 /testing
parenteee114ba211fddfd848ef911c3dfa2d017781add (diff)
testing: fix a bug that prevents commenting entries
When trying to fix PyPy by blacklisting, it was not possible to blacklist one bug. After a while it was clear: The entry in question was already present in another, PyPy unrelated position. The PyPy entries are at the end of blacklist.txt, and so the old entry was replaced. This is a drawback of the system that could be discussed. The problem: As a workaround and to keep things reproducible, I added a comment to the old entry and repeated the entry in the PyPy section with a comment, too. The final problem after long analysis was that comments were no longer possible since 2021-01-05, by a wrong cosmetic change. (2de3a763fa18d5c30c2cff25057f1b81ceeed231) Change-Id: Ibb34a98f010294f03fae7e478c40e5c8742da689 Pick-to: 6.2 Task-number: PYSIDE-535 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'testing')
-rw-r--r--testing/blacklist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/blacklist.py b/testing/blacklist.py
index 09848dce4..b85dcaba9 100644
--- a/testing/blacklist.py
+++ b/testing/blacklist.py
@@ -63,7 +63,7 @@ class BlackList(object):
def filtered_line(line):
if "#" in line:
- line = line[line.index("#")]
+ line = line[ : line.index("#")]
return line.split()
# now put every bracketed line in a test