summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pipes.py
diff options
context:
space:
mode:
authorJack Diederich <jackdied@gmail.com>2010-02-22 21:27:38 (GMT)
committerJack Diederich <jackdied@gmail.com>2010-02-22 21:27:38 (GMT)
commit5cac46dd413766411dc12758d53b6a7e6b691171 (patch)
tree547964521be128e31195247a75811adfa3355b47 /Lib/test/test_pipes.py
parentf2055ae43d25013d9e7b74c2cf23128b28229557 (diff)
downloadcpython-5cac46dd413766411dc12758d53b6a7e6b691171.zip
cpython-5cac46dd413766411dc12758d53b6a7e6b691171.tar.gz
cpython-5cac46dd413766411dc12758d53b6a7e6b691171.tar.bz2
* fix issue#7476
Diffstat (limited to 'Lib/test/test_pipes.py')
-rw-r--r--Lib/test/test_pipes.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_pipes.py b/Lib/test/test_pipes.py
index d1053e8..a638598 100644
--- a/Lib/test/test_pipes.py
+++ b/Lib/test/test_pipes.py
@@ -76,6 +76,8 @@ class SimplePipeTests(unittest.TestCase):
self.assertEqual(pipes.quote("test%s'name'" % u),
'"test\\%s\'name\'"' % u)
+ self.assertEqual(pipes.quote(''), "''")
+
def testRepr(self):
t = pipes.Template()
self.assertEqual(repr(t), "<Template instance, steps=[]>")