From 11888c03019d536fcebe19ce6401e530b827552e Mon Sep 17 00:00:00 2001 From: Louis-Dupont <35190946+Louis-Dupont@users.noreply.github.com> Date: Wed, 8 Nov 2023 12:59:44 +0200 Subject: [PATCH] remove ast feature_version (#1624) --- tests/unit_tests/test_convert_recipe_to_code.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/test_convert_recipe_to_code.py b/tests/unit_tests/test_convert_recipe_to_code.py index 676a804f62..76f3daea58 100644 --- a/tests/unit_tests/test_convert_recipe_to_code.py +++ b/tests/unit_tests/test_convert_recipe_to_code.py @@ -87,7 +87,7 @@ def test_convert_recipes_that_should_work(self): convert_recipe_to_code(recipe, self.recipes_dir, output_script_path) src = output_script_path.read_text() try: - ast.parse(src, feature_version=(3, 9)) + ast.parse(src) except SyntaxError as e: self.fail(f"Recipe {recipe} failed to convert to python script: {e}")