mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
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 ........
This commit is contained in:
parent
0c01ad3525
commit
c65d55fc3f
3 changed files with 6 additions and 0 deletions
|
@ -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=[]>")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue