Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.5:Update
python-pook
pytest5.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File pytest5.patch of Package python-pook
From 2071da27701c82ce02b015e01e2aa6fd203e7bb5 Mon Sep 17 00:00:00 2001 From: Tom <tomas@aparicio.me> Date: Tue, 5 May 2020 14:22:30 +0200 Subject: [PATCH] fix(#69): use match keyword in pytest.raises --- tests/unit/matchers/base_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/matchers/base_test.py b/tests/unit/matchers/base_test.py index 175bd67..b01aa23 100644 --- a/tests/unit/matchers/base_test.py +++ b/tests/unit/matchers/base_test.py @@ -33,7 +33,7 @@ def test_base_matcher_exceptions(): assert _BaseMatcher('foo').match(None) is None with pytest.raises(ValueError, - message='expectation argument cannot be empty'): + match='expectation argument cannot be empty'): _BaseMatcher(None)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor