Skip to content
This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Commit 51e316e

Browse files
authored
test: remove extraneous @staticmethod in test file (#293)
This is what was causing the Internal Error with pytest 7.0.0
1 parent 2dad3d3 commit 51e316e

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

noxfile.py

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

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

4746
session.run(

tests/test_datetime_helpers.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@ def test_from_rfc3339_w_full_precision():
173173
assert stamp == expected
174174

175175

176-
@staticmethod
177176
@pytest.mark.parametrize(
178177
"fractional, nanos",
179178
[

0 commit comments

Comments
 (0)