Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:ARM:Rings:1-MinimalX
python-beautifulsoup4
soupsieve26-compat.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File soupsieve26-compat.patch of Package python-beautifulsoup4
--- bs4/tests/test_css.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/bs4/tests/test_css.py +++ b/bs4/tests/test_css.py @@ -332,7 +332,8 @@ class TestCSSSelectors(SoupTest): assert "yes" == chosen.string def test_unsupported_pseudoclass(self): - with pytest.raises(NotImplementedError): + # Compatibility with various versions of soupsieve + with pytest.raises((NotImplementedError,SelectorSyntaxError)): self.soup.select("a:no-such-pseudoclass") with pytest.raises(SelectorSyntaxError):
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