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