Hanno Böck commited on 2023-11-26 09:19:39
Zeige 1 geänderte Dateien mit 1 Einfügungen und 1 Löschungen.
| ... | ... |
@@ -62,7 +62,7 @@ class TestJsonLint(unittest.TestCase): |
| 62 | 62 |
# we have a theoretical reDoS here, but |
| 63 | 63 |
# this is no external data, therefore ok |
| 64 | 64 |
self.assertTrue( |
| 65 |
- re.match(r'^([0-9]+\.)*[0-9]+$', item["safe"]), # noqa: DUO138 |
|
| 65 |
+ re.match(r"^([0-9]+\.)*[0-9]+$", item["safe"]), # noqa: DUO138 |
|
| 66 | 66 |
msg=f"{item['name']}: Invalid safe version {item['safe']}",
|
| 67 | 67 |
) |
| 68 | 68 |
|
| 69 | 69 |