Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 04dee27

Browse files
xrmxasvetlov
authored andcommitted
Remove duplicated import from datetime tests (#4444)
1 parent e96ba18 commit 04dee27

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Lib/test/datetimetester.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3247,8 +3247,6 @@ def test_extract(self):
32473247
self.assertEqual(dt.timetz(), time(18, 45, 3, 1234, tzinfo=met))
32483248

32493249
def test_tz_aware_arithmetic(self):
3250-
import random
3251-
32523250
now = self.theclass.now()
32533251
tz55 = FixedOffset(-330, "west 5:30")
32543252
timeaware = now.time().replace(tzinfo=tz55)

0 commit comments

Comments
 (0)