Skip to content

Commit c881744

Browse files
Remove obsolete python main patch (#2522)
This PR updates our CPython `main` patch to account for CPython PR [135572](python/cpython#135572). We'll need to update the patch file one more time to remove the the `configure` script change.
1 parent fe8d0c3 commit c881744

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/ci/integration/python_patch/main/aws-lc-cpython.patch

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,3 @@ index 029bf52..3fada48 100755
3131
EVP_PBE_scrypt(NULL, 0, NULL, 0, 2, 8, 1, 0, NULL, 0);
3232

3333
;
34-
diff --git a/Lib/test/test_hashlib.py b/Lib/test/test_hashlib.py
35-
index b83ae181718b7a..ff52e73100e373 100644
36-
--- a/Lib/test/test_hashlib.py
37-
+++ b/Lib/test/test_hashlib.py
38-
@@ -274,7 +274,10 @@ def test_clinic_signature(self):
39-
with self.assertWarnsRegex(DeprecationWarning,
40-
DEPRECATED_STRING_PARAMETER):
41-
hashlib.new(digest_name, string=b'')
42-
- if self._hashlib:
43-
+ # when using a combination of libcrypto and interned hash
44-
+ # implementations, we need to make sure that _hashlib contains
45-
+ # the constructor we're testing
46-
+ if self._hashlib and digest_name in self._hashlib._constructors:
47-
self._hashlib.new(digest_name, b'')
48-
self._hashlib.new(digest_name, data=b'')
49-
with self.assertWarnsRegex(DeprecationWarning,

0 commit comments

Comments
 (0)