diff options
-rw-r--r-- | tests/test_farm.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_farm.py b/tests/test_farm.py index 6f38e5b4..1b52bc29 100644 --- a/tests/test_farm.py +++ b/tests/test_farm.py @@ -344,7 +344,7 @@ def scrub(strdata, scrubs): """ for rgx_find, rgx_replace in scrubs: - strdata = re.sub(rgx_find, re.escape(rgx_replace), strdata) + strdata = re.sub(rgx_find, rgx_replace.replace("\\", "\\\\"), strdata) return strdata |