Skip to content

Commit 15234b6

Browse files
committed
Use raw string in TestTargetFileSearch docstirng
Using a raw string allows the use of backslashes in the docstring comment whithout them being interpreted as an escape character. It also silences pylint W1401: anomalous-backslash-in-string. Signed-off-by: Teodora Sechkova <[email protected]>
1 parent d79b722 commit 15234b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_updater_delegation_graphs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def test_invalid_metadata(self, test_data: DelegationsTestCase) -> None:
323323

324324

325325
class TestTargetFileSearch(TestDelegations):
326-
"""
326+
r"""
327327
Create a single repository with the following delegations:
328328
329329
targets

0 commit comments

Comments
 (0)