Skip to content

Commit

Permalink
Fix run_test.py on python 3.9 (#6735)
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 authored and emelsimsek committed Mar 6, 2023
1 parent db350ab commit 54b44d9
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 @@ -9,6 +9,7 @@
import sys
from collections import OrderedDict
from glob import glob
from typing import Optional

import common

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 54b44d9

Please sign in to comment.