File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 2222
2323
2424class 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 :
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ MarkupSafe==2.1.2
1616mock==4.0.3
1717moto==3.0.2
1818packaging==23.0
19- pluggy==1.0 .0
19+ pluggy==1.5 .0
2020py==1.11.0
2121pycparser==2.21
22- pytest==7 .2.1
22+ pytest==8 .2.0
2323pytest-cov==3.0.0
2424pytest-forked==1.6.0
2525pytest-mock==3.10.0
You can’t perform that action at this time.
0 commit comments