Skip to content

Commit d0a9a0f

Browse files
1 parent e2378a2 commit d0a9a0f

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

‎noxfile.py‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,12 @@ def install_unittest_dependencies(session, *constraints):
168168
def unit(session, protobuf_implementation):
169169
# Install all test dependencies, then install this package in-place.
170170

171-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
171+
if protobuf_implementation == "cpp" and session.python in (
172+
"3.11",
173+
"3.12",
174+
"3.13",
175+
"3.14",
176+
):
172177
session.skip("cpp implementation is not supported in python 3.11+")
173178

174179
constraints_path = str(
@@ -376,7 +381,12 @@ def docfx(session):
376381
def prerelease_deps(session, protobuf_implementation):
377382
"""Run all tests with prerelease versions of dependencies installed."""
378383

379-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
384+
if protobuf_implementation == "cpp" and session.python in (
385+
"3.11",
386+
"3.12",
387+
"3.13",
388+
"3.14",
389+
):
380390
session.skip("cpp implementation is not supported in python 3.11+")
381391

382392
# Install all dependencies

0 commit comments

Comments
 (0)