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