Skip to content

Commit 4141cd1

Browse files
authored
Fix warning issued when testing tests/unit/test_policy.py (#296)
1 parent 9fccdb7 commit 4141cd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_policy.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def test_pep600_compliance():
6969
"lib_whitelist": ["libgcc_s.so.1", "libstdc++.so.6"],
7070
}])
7171

72-
with pytest.raises(ValueError, match="manylinux2010_i686.*CXXABI.*1.3.2"):
72+
with pytest.raises(ValueError, match=r"manylinux2010_i686.*CXXABI.*1.3.2"):
7373
_validate_pep600_compliance([{
7474
"name": "manylinux1", "priority": 100, "symbol_versions": {
7575
"i686": {"CXXABI": ["1.3", "1.3.2"]},
@@ -82,7 +82,7 @@ def test_pep600_compliance():
8282
"lib_whitelist": ["libgcc_s.so.1", "libstdc++.so.6"],
8383
}])
8484

85-
with pytest.raises(ValueError, match="manylinux2010.*libstdc\+\+\.so\.6"):
85+
with pytest.raises(ValueError, match=r"manylinux2010.*libstdc\+\+\.so\.6"):
8686
_validate_pep600_compliance([{
8787
"name": "manylinux1", "priority": 100, "symbol_versions": {
8888
"i686": {"CXXABI": ["1.3"]},

0 commit comments

Comments
 (0)