forked from pool/python-pycurl
- Drop patch test-bottle-flask.patch, not needed anymore
- Update to 7.45.6:
* Re-enable building Linux wheels with CA bundle autodetection
- 7.45.5
* Enable GSS-API and brotli support in wheels (patch by Scott Talbert).
* Add support for calling getinfo with CURLOPT_*_T arguments
(patch by Scott Talbert)
* Change wheels to build using shared libraries (vice static libraries)
(patch by Scott Talbert)
* Build wheels with curl 8.12.1 (mainly for security fixes)
- 7.45.4
* Add support for CURLOPT_HAPROXY_CLIENT_IP (patch by Scott Talbert).
* Port tests from bottle to flask (patch by Miro Hrončok).
* Add constant for CURL_HTTP_VERSION_3ONLY (patch by Pavel Horáček).
* Add EFFECTIVE_METHOD info option (patch by Pavel Horáček).
* Don't use `-flat_namespace` on macOS (patch by Michael Cho).
* Add some missing GIL checks to callback functions
(patch by Scott Talbert).
* Fix assorted bugs in pycurl tests, including a segfault
(patch by Scott Talbert). All tests should now pass on Linux and
macOS.
* Fix minor bug in examples/multi-socket_action-select.py
(patch by Oleg Broytman).
* Build all wheels using the latest version of libcurl and its
dependencies (patch by Scott Talbert). All wheels should now have
openssl, HTTP2, and SSH support.
* Implement Certificate Authority path autodetection when building
Linux wheels (patch by Scott Talbert).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pycurl?expand=0&rev=116
23 lines
747 B
Diff
23 lines
747 B
Diff
---
|
|
tests/curl_object_test.py | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
--- a/tests/curl_object_test.py
|
|
+++ b/tests/curl_object_test.py
|
|
@@ -143,11 +143,11 @@ class CurlObjectTest(unittest.TestCase):
|
|
# change does not affect objects created later
|
|
obj3 = cls()
|
|
self.assertEqual(old_value, getattr(obj3, name))
|
|
-
|
|
+
|
|
def test_bogus_attribute_access(self):
|
|
- with pytest.raises(AttributeError, match='trying to obtain.*'):
|
|
- self.curl.foo
|
|
-
|
|
+ with pytest.raises(AttributeError):
|
|
+ self.curl.foo
|
|
+
|
|
def test_bogus_attribute_delete(self):
|
|
with pytest.raises(AttributeError, match='trying to delete.*'):
|
|
del self.curl.foo
|