Skip to content

Commit f20c9fe

Browse files
committed
Bump pytest version
1 parent 6b06e58 commit f20c9fe

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

tests/test_parfile.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ def test_section_present(par_nml):
1515

1616

1717
def test_section_case_insensitive(par_nml):
18-
return par_nml['SwitcHes'] is par_nml['switches']
18+
assert par_nml['SwitcHes'] is par_nml['switches']
1919

2020

2121
def test_option_case_insensitive(par_nml):
22-
return par_nml['refstate']['Ra0'] is par_nml['refstate']['ra0']
22+
assert par_nml['refstate']['Ra0'] is par_nml['refstate']['ra0']
2323

2424

2525
def test_no_par_file():

tox.ini

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ isolated_build = True
1111

1212
[testenv]
1313
deps =
14-
pip>=20.2
15-
pytest>=6.0
16-
pytest-cov>=2.10
14+
pytest>=7.2
15+
pytest-cov>=4.0
1716
commands =
1817
stagpy version
1918
pytest --cov={envsitepackagesdir}/stagpy --cov-report term-missing {posargs}

0 commit comments

Comments
 (0)