Skip to content

Commit 1aa6486

Browse files
andresdelfinoStanFromIreland
authored andcommitted
Fix missing comma in test_time assertion (GH-161832)
(cherry picked from commit 15cbd9b) Co-authored-by: Andrés Delfino <adelfino@gmail.com> Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 39e17fa commit 1aa6486

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎Lib/test/test_time.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,8 @@ def test_tzset(self):
448448
# on some operating systems (e.g. FreeBSD), which is wrong. See for
449449
# example this bug:
450450
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810
451-
self.assertIn(time.tzname[0], ('AEST' 'EST'), time.tzname[0])
452-
self.assertTrue(time.tzname[1] in ('AEDT', 'EDT'), str(time.tzname[1]))
451+
self.assertIn(time.tzname[0], ('AEST', 'EST'))
452+
self.assertIn(time.tzname[1], ('AEDT', 'EDT'))
453453
self.assertEqual(len(time.tzname), 2)
454454
self.assertEqual(time.daylight, 1)
455455
self.assertEqual(time.timezone, -36000)

0 commit comments

Comments
 (0)