Skip to content

Commit 4dd6e0b

Browse files
authored
chore(deps): Update pytest version in upstream-requirements-py311.txt (#776)
1 parent 4a00eed commit 4dd6e0b

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

test/unit/test_compatability.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,12 @@
2222

2323

2424
class TestWarnDeprecatedPython:
25-
def test_happy_version(self):
25+
def test_happy_version(self, recwarn):
2626
with mock.patch.object(sys, "version_info") as v_info:
2727
v_info.major = 3
2828
v_info.minor = 8
29-
with pytest.warns(None) as record:
30-
_warn_deprecated_python()
31-
assert len(record) == 0
29+
_warn_deprecated_python()
30+
assert len(recwarn) == 0
3231

3332
def test_below_warn(self):
3433
with mock.patch.object(sys, "version_info") as v_info:

test/upstream-requirements-py311.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ MarkupSafe==2.1.2
1616
mock==4.0.3
1717
moto==3.0.2
1818
packaging==23.0
19-
pluggy==1.0.0
19+
pluggy==1.5.0
2020
py==1.11.0
2121
pycparser==2.21
22-
pytest==7.2.1
22+
pytest==8.2.0
2323
pytest-cov==3.0.0
2424
pytest-forked==1.6.0
2525
pytest-mock==3.10.0

0 commit comments

Comments
 (0)