Skip to content

Commit

Permalink
Fix run_test.py on python 3.9
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
JelteF committed Feb 27, 2023
1 parent 9cbfdc8 commit 2709185
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/regress/citus_tests/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import re
import shutil
import sys
from typing import Optional
from collections import OrderedDict
from glob import glob

Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 2709185

Please sign in to comment.