mirror of
https://github.com/python/cpython.git
synced 2025-08-31 22:18:28 +00:00
Remove duplicated import from datetime tests (#4444)
This commit is contained in:
parent
e96ba183c4
commit
04dee27208
1 changed files with 0 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue