bpo-29919: Remove unused imports found by pyflakes (#137)

Make also minor PEP8 coding style fixes on modified imports.
This commit is contained in:
Victor Stinner 2017-03-27 16:05:26 +02:00 committed by GitHub
parent 604e74c6be
commit d6debb24e0
40 changed files with 30 additions and 55 deletions

View file

@ -34,7 +34,7 @@ import numbers
import locale
from test.support import (run_unittest, run_doctest, is_resource_enabled,
requires_IEEE_754, requires_docstrings)
from test.support import (check_warnings, import_fresh_module, TestFailed,
from test.support import (import_fresh_module, TestFailed,
run_with_locale, cpython_only)
import random
import inspect
@ -1170,7 +1170,6 @@ class FormatTest(unittest.TestCase):
@run_with_locale('LC_ALL', 'ps_AF')
def test_wide_char_separator_decimal_point(self):
# locale with wide char separator and decimal point
import locale
Decimal = self.decimal.Decimal
decimal_point = locale.localeconv()['decimal_point']