Kaydet (Commit) 1eb32c20 authored tarafından Brett Cannon's avatar Brett Cannon

Issue #20152: Port the array module to Argument Clinic.

üst 082c6cb1
......@@ -393,7 +393,9 @@ class BaseTest:
self.assertEqual(a, b)
def test_tofromstring(self):
nb_warnings = 4
# Warnings not raised when arguments are incorrect as Argument Clinic
# handles that before the warning can be raised.
nb_warnings = 2
with warnings.catch_warnings(record=True) as r:
warnings.filterwarnings("always",
message=r"(to|from)string\(\) is deprecated",
......
......@@ -10,6 +10,8 @@ Release date: TBA
Core and Builtins
-----------------
- Issue #20152: Convert the array module to Argument Clinic.
- Issue #21052: Do not raise ImportWarning when sys.path_hooks or sys.meta_path
are set to None.
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment