summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pipes.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_pipes.py')
-rw-r--r--Lib/test/test_pipes.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_pipes.py b/Lib/test/test_pipes.py
index f2b58d5..d5b886f 100644
--- a/Lib/test/test_pipes.py
+++ b/Lib/test/test_pipes.py
@@ -81,7 +81,8 @@ class SimplePipeTests(unittest.TestCase):
def testQuoting(self):
safeunquoted = string.ascii_letters + string.digits + '@%_-+=:,./'
- unsafe = '"`$\\!'
+ unicode_sample = '\xe9\xe0\xdf' # e + acute accent, a + grave, sharp s
+ unsafe = '"`$\\!' + unicode_sample
self.assertEqual(pipes.quote(''), "''")
self.assertEqual(pipes.quote(safeunquoted), safeunquoted)