Skip to content

Commit 5dcc671

Browse files
1 parent 0947d48 commit 5dcc671

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
@@ -176,7 +176,12 @@ def install_unittest_dependencies(session, *constraints):
176176
def unit(session, protobuf_implementation):
177177
# Install all test dependencies, then install this package in-place.
178178

179-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
179+
if protobuf_implementation == "cpp" and session.python in (
180+
"3.11",
181+
"3.12",
182+
"3.13",
183+
"3.14",
184+
):
180185
session.skip("cpp implementation is not supported in python 3.11+")
181186

182187
constraints_path = str(
@@ -384,7 +389,12 @@ def docfx(session):
384389
def prerelease_deps(session, protobuf_implementation):
385390
"""Run all tests with prerelease versions of dependencies installed."""
386391

387-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
392+
if protobuf_implementation == "cpp" and session.python in (
393+
"3.11",
394+
"3.12",
395+
"3.13",
396+
"3.14",
397+
):
388398
session.skip("cpp implementation is not supported in python 3.11+")
389399

390400
# Install all dependencies

0 commit comments

Comments
 (0)