Skip to content

Commit aaa96b2

Browse files
committed
Swift: fix python compatibility with CI
1 parent 6dcdf8c commit aaa96b2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

swift/codegen/test/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ def opts():
3939

4040
@pytest.fixture(autouse=True)
4141
def override_paths(tmp_path):
42-
with (mock.patch("swift.codegen.lib.paths.swift_dir", tmp_path),
43-
mock.patch("swift.codegen.lib.paths.exe_file", tmp_path / "exe"),
44-
):
42+
with mock.patch("swift.codegen.lib.paths.swift_dir", tmp_path), \
43+
mock.patch("swift.codegen.lib.paths.exe_file", tmp_path / "exe"):
4544
yield
4645

4746

0 commit comments

Comments
 (0)