diff options
Diffstat (limited to 'tests/scripts')
-rwxr-xr-x | tests/scripts/python/unparse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/python/unparse.py b/tests/scripts/python/unparse.py index 9fc24ee4a..d9c7516ad 100755 --- a/tests/scripts/python/unparse.py +++ b/tests/scripts/python/unparse.py @@ -277,7 +277,7 @@ class UnparsePython(object): def _ast_num(self, node): """Add an AST Num in output.""" # note: deprecated since Python 3.8, replaced by ast.Constant - self._ast_constant(node) + self.add(repr(node.n)) def _ast_pass(self, node): # pylint: disable=unused-argument """Add an AST Pass in output.""" |