We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4db9108 commit c96b9aaCopy full SHA for c96b9aa
test/functional/feature_addrman.py
@@ -5,6 +5,7 @@
5
"""Test addrman functionality"""
6
7
import os
8
+import re
9
import struct
10
11
from test_framework.messages import ser_uint256, hash256
@@ -56,7 +57,7 @@ def run_test(self):
56
57
init_error = lambda reason: (
58
f"Error: Invalid or corrupt peers.dat \\({reason}\\). If you believe this "
59
f"is a bug, please report it to {self.config['environment']['PACKAGE_BUGREPORT']}. "
- f'As a workaround, you can move the file \\("{peers_dat}"\\) out of the way \\(rename, '
60
+ f'As a workaround, you can move the file \\("{re.escape(peers_dat)}"\\) out of the way \\(rename, '
61
"move, or delete\\) to have a new one created on the next start."
62
)
63
0 commit comments