diff options
author | Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2024-05-09 09:17:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-09 09:17:02 (GMT) |
commit | c68acb1384a51eb745f572687eaf677371b9e765 (patch) | |
tree | 6c6bdebc7f82d1ea2a29af1e3240ecfbd782c469 /Lib/test/test_email | |
parent | fa9b9cb11379806843ae03b1e4ad4ccd95a63c02 (diff) | |
download | cpython-c68acb1384a51eb745f572687eaf677371b9e765.zip cpython-c68acb1384a51eb745f572687eaf677371b9e765.tar.gz cpython-c68acb1384a51eb745f572687eaf677371b9e765.tar.bz2 |
gh-118798: Remove deprecated isdst parameter from `email.utils.localtime` (#118799)
Diffstat (limited to 'Lib/test/test_email')
-rw-r--r-- | Lib/test/test_email/test_utils.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Lib/test/test_email/test_utils.py b/Lib/test/test_email/test_utils.py index d04b390..8556a93 100644 --- a/Lib/test/test_email/test_utils.py +++ b/Lib/test/test_email/test_utils.py @@ -154,10 +154,6 @@ class LocaltimeTests(unittest.TestCase): t1 = utils.localtime(t0) self.assertEqual(t1.tzname(), 'EET') - def test_isdst_deprecation(self): - with self.assertWarns(DeprecationWarning): - t0 = datetime.datetime(1990, 1, 1) - t1 = utils.localtime(t0, isdst=True) # Issue #24836: The timezone files are out of date (pre 2011k) # on Mac OS X Snow Leopard. |