summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2021-11-07 16:10:53 -0500
committerGitHub <noreply@github.com>2021-11-07 21:10:53 +0000
commit311a7d9042a96696cd2c2caf4a3aa26f5ed218de (patch)
treed231667d49999065f8f3940bd5917715af04fecd /tests
parent3e0ab39756b05b2b7170e3a2c8b339f27fe56627 (diff)
downloadcryptography-311a7d9042a96696cd2c2caf4a3aa26f5ed218de.tar.gz
Simplify backed name check in tests (#6558)
* Simplify backed name check in tests * poke GHA
Diffstat (limited to 'tests')
-rw-r--r--tests/hazmat/backends/test_openssl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/hazmat/backends/test_openssl.py b/tests/hazmat/backends/test_openssl.py
index 5b793fc9e..47bd48b5e 100644
--- a/tests/hazmat/backends/test_openssl.py
+++ b/tests/hazmat/backends/test_openssl.py
@@ -68,8 +68,8 @@ class TestOpenSSL(object):
to be true for every OpenSSL-alike.
"""
assert backend.openssl_version_text().startswith(
- "OpenSSL"
- ) or backend.openssl_version_text().startswith("LibreSSL")
+ ("OpenSSL", "LibreSSL")
+ )
def test_openssl_version_number(self):
assert backend.openssl_version_number() > 0