diff options
author | Jack Diederich <jackdied@gmail.com> | 2010-02-22 21:27:38 (GMT) |
---|---|---|
committer | Jack Diederich <jackdied@gmail.com> | 2010-02-22 21:27:38 (GMT) |
commit | 5cac46dd413766411dc12758d53b6a7e6b691171 (patch) | |
tree | 547964521be128e31195247a75811adfa3355b47 /Lib/test | |
parent | f2055ae43d25013d9e7b74c2cf23128b28229557 (diff) | |
download | cpython-5cac46dd413766411dc12758d53b6a7e6b691171.zip cpython-5cac46dd413766411dc12758d53b6a7e6b691171.tar.gz cpython-5cac46dd413766411dc12758d53b6a7e6b691171.tar.bz2 |
* fix issue#7476
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_pipes.py | 2 |
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=[]>") |