Print library versions the proper way
diff --git a/conftest.py b/conftest.py
new file mode 100644
index 0000000..5a9954f
--- /dev/null
+++ b/conftest.py
@@ -0,0 +1,12 @@
+# Copyright (c) The pyOpenSSL developers
+# See LICENSE for details.
+
+
+def pytest_report_header(config):
+    import OpenSSL.SSL
+    import cryptography
+
+    return "OpenSSL: {openssl}\ncryptography: {cryptography}".format(
+        openssl=OpenSSL.SSL.SSLeay_version(OpenSSL.SSL.SSLEAY_VERSION),
+        cryptography=cryptography.__version__
+    )