From 3bc0453caec237ecd9a191be4141ffc37a643d65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Tue, 2 Aug 2022 20:55:36 +0200 Subject: [PATCH] tests: fix assignment in perl script generator --- tests/scripts/python/unparse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/scripts/python/unparse.py b/tests/scripts/python/unparse.py index e0991292b..2a9c05b80 100755 --- a/tests/scripts/python/unparse.py +++ b/tests/scripts/python/unparse.py @@ -329,7 +329,7 @@ class UnparsePerl(UnparsePython): """Add an AST Assign in output.""" self.add( self.fill, - (self.prefix, '%' if isinstance(node.value, ast.Dict) else '$'), + (self.prefix, '$'), [[target, ' = '] for target in node.targets], (self.prefix, None), node.value,