Example #1
0
 def test_4(self):
     self.assertEqual("testa", remove_suffix("testa", "test"))
Example #2
0
 def test_1(self):
     self.assertEqual("test", remove_suffix("test", ""))
Example #3
0
 def test_3(self):
     self.assertEqual("test", remove_suffix("testing", "ing"))
Example #4
0
 def test_0(self):
     self.assertEqual("", remove_suffix("", "suffix"))
 def test_4(self):
     self.assertEqual("testa", remove_suffix("testa", "test"))
 def test_3(self):
     self.assertEqual("test", remove_suffix("testing", "ing"))
 def test_1(self):
     self.assertEqual("test", remove_suffix("test", ""))
 def test_0(self):
     self.assertEqual("", remove_suffix("", "suffix"))