aboutsummaryrefslogtreecommitdiffstats
path: root/test/pathod/test_language_base.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2016-05-25 20:11:34 -0700
committerMaximilian Hils <git@maximilianhils.com>2016-05-25 20:11:34 -0700
commitd3477e27fa4ffbcfa9c1b9aa937d1d54448cc597 (patch)
tree37e4eb1be1c0887279192c61487bb3079ae458c1 /test/pathod/test_language_base.py
parent7a8da48a306dfc8e43239d7f2a141c465e40ab77 (diff)
downloadmitmproxy-d3477e27fa4ffbcfa9c1b9aa937d1d54448cc597.tar.gz
mitmproxy-d3477e27fa4ffbcfa9c1b9aa937d1d54448cc597.tar.bz2
mitmproxy-d3477e27fa4ffbcfa9c1b9aa937d1d54448cc597.zip
bytes_to_escaped_str: always escape single quotes
Diffstat (limited to 'test/pathod/test_language_base.py')
-rw-r--r--test/pathod/test_language_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pathod/test_language_base.py b/test/pathod/test_language_base.py
index 64d4af1f..2e5d9041 100644
--- a/test/pathod/test_language_base.py
+++ b/test/pathod/test_language_base.py
@@ -67,7 +67,7 @@ class TestTokValueLiteral:
def test_roundtrip(self):
self.roundtrip("'")
- self.roundtrip('\'')
+ self.roundtrip(r"\'")
self.roundtrip("a")
self.roundtrip("\"")
# self.roundtrip("\\")