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