From a97d734d8b11d581bf35879c335b553f9937282b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 24 Oct 2017 23:29:38 +0200 Subject: [PATCH] tests: fix Ruby strings --- tests/scripts/python/unparse.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/scripts/python/unparse.py b/tests/scripts/python/unparse.py index a1e308384..2c89bb73a 100755 --- a/tests/scripts/python/unparse.py +++ b/tests/scripts/python/unparse.py @@ -540,6 +540,10 @@ class UnparseRuby(UnparsePython): """Add an AST Pass in output.""" pass + def _ast_str(self, node): + """Add an AST Str in output.""" + self.add('"%s"' % node.s) + class UnparseLua(UnparsePython): """