Skip to content

Commit 6124042

Browse files
authored
Merge pull request #53 from kassonlab/mei-pytest-compatibility
Tighten pytest compatibilty.
2 parents 9478d3e + 2456156 commit 6124042

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ networkx>=2.0
99
numpy>=1
1010
pip>=22
1111
pybind11>=2.6
12-
pytest>=3.9
12+
pytest>=7.0.0
1313
setuptools>=61.0.0
1414
versioningit~=2.0
1515
wheel

tests/test_run_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,5 +88,5 @@ def test_run_data(tmpdir, raw_pair_data):
8888
json.dump(test_data, tmp)
8989
tmp.flush()
9090
# Tolerates redundant *name* field. Warns if inconsistent.
91-
with pytest.warns(match='instead of'):
91+
with pytest.warns(UserWarning, match='instead of'):
9292
PairDataCollection.create_from(tmp.name)

0 commit comments

Comments
 (0)