summaryrefslogtreecommitdiff
path: root/Lib/test/test_pipes.py
diff options
context:
space:
mode:
authorJack Diederich <jackdied@gmail.com>2010-02-22 22:31:00 +0000
committerJack Diederich <jackdied@gmail.com>2010-02-22 22:31:00 +0000
commitc65d55fc3f8ab248fc896061111f32b28fb31b9f (patch)
tree74c02a06d26245ee04e2b6feb77daef85ceceb29 /Lib/test/test_pipes.py
parent0c01ad35258579815bb7003f68024d50b1be4244 (diff)
downloadcpython-git-c65d55fc3f8ab248fc896061111f32b28fb31b9f.tar.gz
Merged revisions 78339 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78339 | jack.diederich | 2010-02-22 16:27:38 -0500 (Mon, 22 Feb 2010) | 1 line * 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 0eca8edf10..dd1cc9e952 100644
--- a/Lib/test/test_pipes.py
+++ b/Lib/test/test_pipes.py
@@ -74,6 +74,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=[]>")