示例#1
0
 def test_quote_close(self):
     self.assertEqual("\u2019", uml.all("'"))
示例#2
0
 def test_quote_open(self):
     self.assertEqual("\u2018", uml.all("''"))
示例#3
0
 def test_dquote_close(self):
     self.assertEqual("\u201D", uml.all('"'))
示例#4
0
 def test_dquote_open(self):
     self.assertEqual("\u201C", uml.all('""'))
示例#5
0
def uml(value):
    return uml_module.all(value)
示例#6
0
 def inlineBuilderWrite(self, b):
     l = ''.join(self.inlineB)
     if (self.uml):
         l = uml.all(l)
     b.append(l)
     self.inlineB = []