Skip to content

Commit 465d9f7

Browse files
committed
Skip test in GA for Windows and fix import.
1 parent 10cd0da commit 465d9f7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tests/test_execute.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from __future__ import annotations
22

33
import json
4+
import os
45
import pickle
56
import re
67
import subprocess
@@ -634,11 +635,15 @@ def create_file(
634635

635636

636637
@pytest.mark.end_to_end()
638+
@pytest.mark.xfail(
639+
sys.platform == "win32" and os.environ.get("CI"),
640+
reason="Wrong python interpreter used in Github Actions.",
641+
)
637642
def test_execute_tasks_multiple_times_via_api(tmp_path):
638643
"""See #625."""
639644
source = """
640645
import pathlib
641-
from typing import Annotated
646+
from typing_extensions import Annotated
642647
from pytask import build, task
643648
import sys
644649

0 commit comments

Comments
 (0)