Пример #1
0
 def test_lazy_str_reduce_other(self):
     return
     strings = ['1abc123asdf3', '2abc1234asdf4', '3abc234asdf5']
     self.assertEqual(_str_reduce(strings, '(.*)', '[...]'),
                      ('(.*)', '[...]'))
Пример #2
0
 def test_lazy_str_reduce_other(self):
     return
     strings = ['1abc123asdf3', '2abc1234asdf4', '3abc234asdf5']
     self.assertEqual(_str_reduce(strings, '(.*)', '[...]'),
                      ('(.*)', '[...]'))
Пример #3
0
 def test_lazy_str_reduce(self):
     return
     strings = ['abc123asdf', 'abc1234asdf', 'abc234asdf']
     self.assertEqual(_str_reduce(strings, '(.*)', '[...]'),
                      ('abc(.*)asdf', 'abc[...]asdf'))
Пример #4
0
 def test_lazy_str_reduce(self):
     return
     strings = ['abc123asdf', 'abc1234asdf', 'abc234asdf']
     self.assertEqual(_str_reduce(strings, '(.*)', '[...]'),
                      ('abc(.*)asdf', 'abc[...]asdf'))