2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-09-07 01:35:23 +00:00

Quote trailing backslash in test case

This fixes an error with Python 3.11:

```
test/test-parser-simple-tests.py:420:21: E502 the backslash is redundant between brackets
```

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
(cherry picked from commit 92fcdcab9e)
Signed-off-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
Zygmunt Krynicki
2024-11-25 13:54:03 +01:00
committed by John Johansen
parent d88c6d3bca
commit 4722ff8e65

View File

@@ -417,7 +417,7 @@ syntax_failure = (
'generated_perms_leading/dominate-Cuxtarget.sd',
'generated_perms_leading/dominate-ownerPuxtarget2.sd',
# escaping with \
# escaping with "\"
'file/ok_embedded_spaces_4.sd', # \-escaped space
'file/file/ok_embedded_spaces_4.sd', # \-escaped space
'file/ok_quoted_4.sd', # quoted string including \"