https://github.com/python/cpython/commit/5885d6d3bc843d789c0b36368fdc01967374c8ee commit: 5885d6d3bc843d789c0b36368fdc01967374c8ee branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland <[email protected]> date: 2026-11-15T21:33:31Z summary:
[3.14] Fix missing comma in `test_time` assertion (GH-161832) (#162064) (cherry picked from commit 15cbd9b92953d85b01fb54287893209510dea56d) Co-authored-by: Andrés Delfino <[email protected]> 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 ff7d982fb3621c..97c29a5c6e5c33 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -448,8 +448,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]
