コード例 #1
0
ファイル: test_openssl.py プロジェクト: Sp1l/py-cryptography
 def test_version_mismatch(self):
     with pytest.raises(ImportError):
         _verify_package_version("nottherightversion")
コード例 #2
0
ファイル: test_openssl.py プロジェクト: pyca/cryptography
 def test_version_mismatch(self):
     with pytest.raises(ImportError):
         _verify_package_version("nottherightversion")