https://github.com/python/cpython/commit/15cbd9b92953d85b01fb54287893209510dea56d commit: 15cbd9b92953d85b01fb54287893209510dea56d branch: main author: Andrés Delfino <[email protected]> committer: StanFromIreland <[email protected]> date: 2026-11-15T20:48:40Z summary:
Fix missing comma in `test_time` assertion (#161832) Co-authored-by: Stan Ulbrych <[email protected]> files: M Lib/test/test_time.py diff --git a/Lib/test/test_time.py b/Lib/test/test_time.py index c5754afd0e84a8..861076357e0019 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -562,8 +562,8 @@ def test_tzset(self): # on some operating systems (e.g. FreeBSD), which is wrong. See for # example this bug: # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810 - self.assertIn(time.tzname[0], ('AEST' 'EST'), time.tzname[0]) - self.assertTrue(time.tzname[1] in ('AEDT', 'EDT'), str(time.tzname[1])) + self.assertIn(time.tzname[0], ('AEST', 'EST')) + self.assertIn(time.tzname[1], ('AEDT', 'EDT')) self.assertEqual(len(time.tzname), 2) self.assertEqual(time.daylight, 1) self.assertEqual(time.timezone, -36000) _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
