Skip to content

Commit aaefa89

Browse files
committed
avoid typing issue in tests
1 parent 2d1ded3 commit aaefa89

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/unit/bigquery/test_pyformat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
from __future__ import annotations
16+
1517
from unittest import mock
18+
from typing import List
1619

1720
from IPython.testing import globalipapp
1821
import pytest
@@ -31,7 +34,7 @@
3134
),
3235
),
3336
)
34-
def test_parse_fields(sql_template: str, expected: list[str]):
37+
def test_parse_fields(sql_template: str, expected: List[str]):
3538
import bigquery_magics.pyformat
3639

3740
fields = bigquery_magics.pyformat._parse_fields(sql_template)

0 commit comments

Comments
 (0)