summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/test_compat.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/test_compat.py b/tests/test_compat.py
index 1940e79..e371348 100644
--- a/tests/test_compat.py
+++ b/tests/test_compat.py
@@ -8,13 +8,7 @@ class Test_unquote_bytes_to_wsgi(unittest.TestCase):
return unquote_bytes_to_wsgi(v)
def test_highorder(self):
- from waitress.compat import PY3
-
val = b"/a%C5%9B"
result = self._callFUT(val)
- if PY3: # pragma: no cover
- # PEP 3333 urlunquoted-latin1-decoded-bytes
- self.assertEqual(result, "/aÅ\x9b")
- else: # pragma: no cover
- # sanity
- self.assertEqual(result, b"/a\xc5\x9b")
+ # PEP 3333 urlunquoted-latin1-decoded-bytes
+ self.assertEqual(result, "/aÅ\x9b")