Remove duplicated import from datetime tests (#4444)

This commit is contained in:
Riccardo Magliocchetti 2017-11-20 09:48:56 +01:00 committed by Andrew Svetlov
parent e96ba183c4
commit 04dee27208

View file

@ -3247,8 +3247,6 @@ class TestDateTimeTZ(TestDateTime, TZInfoBase, unittest.TestCase):
self.assertEqual(dt.timetz(), time(18, 45, 3, 1234, tzinfo=met)) self.assertEqual(dt.timetz(), time(18, 45, 3, 1234, tzinfo=met))
def test_tz_aware_arithmetic(self): def test_tz_aware_arithmetic(self):
import random
now = self.theclass.now() now = self.theclass.now()
tz55 = FixedOffset(-330, "west 5:30") tz55 = FixedOffset(-330, "west 5:30")
timeaware = now.time().replace(tzinfo=tz55) timeaware = now.time().replace(tzinfo=tz55)