Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:python:backports
python-pyshould
fix-assertion-method.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix-assertion-method.patch of Package python-pyshould
Index: pyshould-0.7.1/tests/dsl.py =================================================================== --- pyshould-0.7.1.orig/tests/dsl.py +++ pyshould-0.7.1/tests/dsl.py @@ -94,13 +94,13 @@ class DslTestCase(unittest.TestCase): def nested_expression_ok(): with should.throw(TypeError): 1 | should.equal(1) - self.assertRaisesRegexp(AssertionError, + self.assertRaisesRegex(AssertionError, 'TypeError', nested_expression_ok) def nested_expression_fail(): with should.throw(TypeError): 1 | should.equal(2) - self.assertRaisesRegexp(AssertionError, + self.assertRaisesRegex(AssertionError, '<2>', nested_expression_fail) with should.throw(TypeError):
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