예제 #1
0
 def test_strip_nochange(self):
     self.assertEqual(remove_control_characters(self.given_combined.decode('utf-8')).encode('utf-8'),
                      self.expected_combined)
예제 #2
0
 def test_strip_nochange(self):
     self.assertEqual(
         remove_control_characters(
             self.given_combined.decode('utf-8')).encode('utf-8'),
         self.expected_combined)
예제 #3
0
 def test_strip_chn(self):
     self.assertEqual(remove_control_characters(self.given_chn.decode('utf-8')).encode('utf-8'),
                      self.expected_chn)
예제 #4
0
 def test_strip_chn(self):
     self.assertEqual(
         remove_control_characters(
             self.given_chn.decode('utf-8')).encode('utf-8'),
         self.expected_chn)