Skip to content

Commit 49e15a2

Browse files
1 parent 2479c2b commit 49e15a2

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

238-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
238+
if protobuf_implementation == "cpp" and session.python in (
239+
"3.11",
240+
"3.12",
241+
"3.13",
242+
"3.14",
243+
):
239244
session.skip("cpp implementation is not supported in python 3.11+")
240245

241246
constraints_path = str(
@@ -445,7 +450,12 @@ def docfx(session):
445450
def prerelease_deps(session, protobuf_implementation):
446451
"""Run all tests with prerelease versions of dependencies installed."""
447452

448-
if protobuf_implementation == "cpp" and session.python in ("3.11", "3.12", "3.13", "3.14"):
453+
if protobuf_implementation == "cpp" and session.python in (
454+
"3.11",
455+
"3.12",
456+
"3.13",
457+
"3.14",
458+
):
449459
session.skip("cpp implementation is not supported in python 3.11+")
450460

451461
# Install all dependencies

0 commit comments

Comments
 (0)