Пример #1
0
 def test_without_regexp2(self):
     self.assertEqual(without_regexp('abra((esdf(esdf'), 'abra')
Пример #2
0
 def test_without_regexp1(self):
     self.assertEqual(without_regexp('abra((esdf)(esdf'), 'abra((esdf)')
Пример #3
0
 def test_without_regexp7(self):
     self.assertEqual(without_regexp('abra((esdf)abc((vsdf)'),
                      'abra((esdf)abc((vsdf)')
Пример #4
0
 def test_without_regexp8(self):
     self.assertEqual(
         without_regexp('abra((esdf)abc((vsdf)((fgj))hjk((((ghj)'),
         'abra((esdf)abc((vsdf)((fgj))hjk')
Пример #5
0
 def test_without_regexp6(self):
     self.assertEqual(without_regexp('abra((esdf)abc(hjkk(vsdf'),
                      'abra((esdf)abc')