summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scripts')
-rwxr-xr-xtests/scripts/python/unparse.py4
1 files changed, 4 insertions, 0 deletions
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):
"""