From 2709185dd076e9696ad006baeed8b85b2f11bf01 Mon Sep 17 00:00:00 2001 From: Jelte Fennema Date: Mon, 27 Feb 2023 09:30:35 +0100 Subject: [PATCH] Fix run_test.py on python 3.9 In #6718 I accidentally added Python type hint syntax that was only supported on Python 3.10. Our CI uses 3.9, so this PR changes that to a syntax that's supported on 3.9 too. --- src/test/regress/citus_tests/run_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/regress/citus_tests/run_test.py b/src/test/regress/citus_tests/run_test.py index db8f203032a..dbc5499982d 100755 --- a/src/test/regress/citus_tests/run_test.py +++ b/src/test/regress/citus_tests/run_test.py @@ -7,6 +7,7 @@ import re import shutil import sys +from typing import Optional from collections import OrderedDict from glob import glob @@ -57,7 +58,7 @@ class TestDeps: - schedule: str | None + schedule: Optional[str] direct_extra_tests: list[str] def __init__(self, schedule, extra_tests=None, repeatable=True):