8a5b2a
From 820d9527070ad2c7724dcecf1a35dbac7d68621d Mon Sep 17 00:00:00 2001
8a5b2a
From: Christian Heimes <christian@python.org>
8a5b2a
Date: Tue, 1 Mar 2022 16:22:51 +0100
8a5b2a
Subject: [PATCH 4/5] Disable test_openssl_assert_error_on_stack in FIPS mode
8a5b2a
8a5b2a
---
8a5b2a
 tests/hazmat/bindings/test_openssl.py | 1 +
8a5b2a
 1 file changed, 1 insertion(+)
8a5b2a
8a5b2a
diff --git a/tests/hazmat/bindings/test_openssl.py b/tests/hazmat/bindings/test_openssl.py
8a5b2a
index 129928ac0..9839aec4d 100644
8a5b2a
--- a/tests/hazmat/bindings/test_openssl.py
8a5b2a
+++ b/tests/hazmat/bindings/test_openssl.py
8a5b2a
@@ -84,6 +84,7 @@ class TestOpenSSL(object):
8a5b2a
             with pytest.raises(AttributeError):
8a5b2a
                 b.lib.TLS_ST_OK
8a5b2a
 
8a5b2a
+    @pytest.mark.skip_fips(reason="FIPS maps to different error codes")
8a5b2a
     def test_openssl_assert_error_on_stack(self):
8a5b2a
         b = Binding()
8a5b2a
         b.lib.ERR_put_error(
8a5b2a
-- 
8a5b2a
2.35.1
8a5b2a