Skip to content

Commit 28aa3b2

Browse files
authored
fix: workaround for buggy pytest (#291)
1 parent 79aab94 commit 28aa3b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

noxfile.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ def unit(session, proto="python"):
4040
)
4141

4242
session.env["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = proto
43-
session.install("coverage", "pytest", "pytest-cov", "pytz")
43+
# Pytest 7.0.0 is buggy
44+
session.install("coverage", "pytest<7.0.0", "pytest-cov", "pytz")
4445
session.install("-e", ".[testing]", "-c", constraints_path)
4546

4647
session.run(

0 commit comments

Comments
 (0)