From 9726c2166e370a80e60b8ecac1eb990be0a16b81 Mon Sep 17 00:00:00 2001 From: Srinivas Reddy Thatiparthy Date: Wed, 18 Dec 2024 13:18:08 +0530 Subject: [PATCH] Update parameter name --- Lib/test/test_email/test_email.py | 2 +- Lib/test/test_email/test_message.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/test/test_email/test_email.py b/Lib/test/test_email/test_email.py index 7d63e8a3cddc42..8da39b269ad4a7 100644 --- a/Lib/test/test_email/test_email.py +++ b/Lib/test/test_email/test_email.py @@ -744,7 +744,7 @@ def test_invalid_header_names(self): for name, value in invalid_headers: with self.subTest( name=name, - problem=name, + description=value, policy=thispolicy.__class__.__name__, method=method, ): diff --git a/Lib/test/test_email/test_message.py b/Lib/test/test_email/test_message.py index 651d9d027089b3..f933e04df00d08 100644 --- a/Lib/test/test_email/test_message.py +++ b/Lib/test/test_email/test_message.py @@ -1020,7 +1020,7 @@ def test_invalid_header_names(self): for name, value in invalid_headers: with self.subTest( name=name, - problem=name, + description=value, policy=thispolicy.__class__.__name__, method=method, ):