From b1ec7e78cdb3bb0432667d7a029cfe00f07a3b11 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 6 Jan 2017 00:58:29 +0100 Subject: Revert "add strutils.replace_surrogates" This reverts commit 15ae88db08dbf2725c8c9f945f2006c4b2a10d46. --- test/mitmproxy/utils/test_strutils.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test') diff --git a/test/mitmproxy/utils/test_strutils.py b/test/mitmproxy/utils/test_strutils.py index 1fb4949f..1372d31f 100644 --- a/test/mitmproxy/utils/test_strutils.py +++ b/test/mitmproxy/utils/test_strutils.py @@ -19,11 +19,6 @@ def test_always_str(): assert strutils.always_str(None) is None -def test_replace_surrogates(): - assert strutils.replace_surrogates("foo") == "foo" - assert strutils.replace_surrogates("bar \udc80 baz") == "bar � baz" - - def test_escape_control_characters(): assert strutils.escape_control_characters(u"one") == u"one" assert strutils.escape_control_characters(u"\00ne") == u".ne" -- cgit v1.2.3