Exemple #1
0
 def test_replacements(self):
     config = Config()
     config.replacements = {"self.": ""}
     self.go_exact(config, [start, "test", newline, "self." + A, B, C, stop])
Exemple #2
0
 def test_replacements(self):
     config = Config()
     config.replacements = {'self.': ''}
     self.go_exact(config,
                   [start, 'test', newline, 'self.' + A, B, C, stop])