Exemple #1
0
    def test3(self):
        result = xxutils.xxstrip("""abc
def
ghi""")
        #print result
        self.assertTrue(result == "abcdefghi")
Exemple #2
0
 def test2(self):
     result = xxutils.xxstrip(" a b c ")
     #print result
     self.assertTrue(result == "abc")