Skip to content

Commit 062fc36

Browse files
miss-islingtonandresdelfinoStanFromIreland
authored
[3.15] Fix missing comma in test_time assertion (GH-161832) (#162065)
(cherry picked from commit 15cbd9b) Co-authored-by: Andrés Delfino <adelfino@gmail.com> Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 2a3599b commit 062fc36

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
@@ -486,8 +486,8 @@ def test_tzset(self):
486486
# on some operating systems (e.g. FreeBSD), which is wrong. See for
487487
# example this bug:
488488
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=93810
489-
self.assertIn(time.tzname[0], ('AEST' 'EST'), time.tzname[0])
490-
self.assertTrue(time.tzname[1] in ('AEDT', 'EDT'), str(time.tzname[1]))
489+
self.assertIn(time.tzname[0], ('AEST', 'EST'))
490+
self.assertIn(time.tzname[1], ('AEDT', 'EDT'))
491491
self.assertEqual(len(time.tzname), 2)
492492
self.assertEqual(time.daylight, 1)
493493
self.assertEqual(time.timezone, -36000)

0 commit comments

Comments
 (0)