From bdafcd39172e118c4fc475770546ccef4d5e5784 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Mon, 9 Sep 2013 17:44:11 -0500 Subject: openssl_version_text now calls startswith rather than find --- tests/bindings/test_openssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/bindings/test_openssl.py b/tests/bindings/test_openssl.py index db71e328..e0baaf53 100644 --- a/tests/bindings/test_openssl.py +++ b/tests/bindings/test_openssl.py @@ -26,4 +26,4 @@ class TestOpenSSL(object): if it starts with OpenSSL as that appears to be true for every OpenSSL. """ - assert api.openssl_version_text().find("OpenSSL") == 0 + assert api.openssl_version_text().startswith("OpenSSL") -- cgit v1.2.3