https://github.com/python/cpython/commit/062fc3681742cc43bfb0ac0045054b3cd9d54e3c commit: 062fc3681742cc43bfb0ac0045054b3cd9d54e3c branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland <[email protected]> date: 2026-11-15T21:42:02Z summary:
[3.15] Fix missing comma in `test_time` assertion (GH-161832) (#162065) (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 985984b55123ce..6c184a54cb3ab9 100644 --- a/Lib/test/test_time.py +++ b/Lib/test/test_time.py @@ -486,8 +486,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]
