[Python-checkins] Remove duplicated import from datetime tests (#4444)

Andrew Svetlov webhook-mailer at python.org
Mon Nov 20 03:48:59 EST 2017


https://github.com/python/cpython/commit/04dee2720851ec39e831beaa3edc0c59f228f461
commit: 04dee2720851ec39e831beaa3edc0c59f228f461
branch: master
author: Riccardo Magliocchetti <riccardo.magliocchetti at gmail.com>
committer: Andrew Svetlov <andrew.svetlov at gmail.com>
date: 2017-11-20T10:48:56+02:00
summary:

Remove duplicated import from datetime tests (#4444)

files:
M Lib/test/datetimetester.py

diff --git a/Lib/test/datetimetester.py b/Lib/test/datetimetester.py
index 5b58e99fbcd..d0886c47bae 100644
--- a/Lib/test/datetimetester.py
+++ b/Lib/test/datetimetester.py
@@ -3247,8 +3247,6 @@ def test_extract(self):
         self.assertEqual(dt.timetz(), time(18, 45, 3, 1234, tzinfo=met))
 
     def test_tz_aware_arithmetic(self):
-        import random
-
         now = self.theclass.now()
         tz55 = FixedOffset(-330, "west 5:30")
         timeaware = now.time().replace(tzinfo=tz55)



More information about the Python-checkins mailing list