We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cef6ab7 commit 4d599c4Copy full SHA for 4d599c4
1 file changed
tests/test_lazy_loader.py
@@ -215,7 +215,7 @@ def test_stub_loading_errors(tmp_path):
215
216
stub2 = tmp_path / "stub2.pyi"
217
stub2.write_text("from .mod import *\n")
218
- with pytest.raises(ValueError, match=".*does not support star import"):
+ with pytest.raises(ValueError, match=r".*does not support star import"):
219
lazy.attach_stub("name", str(stub2))
220
221
0 commit comments