mirror of
https://github.com/python/cpython.git
synced 2025-08-28 12:45:07 +00:00
bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
This commit is contained in:
parent
604e74c6be
commit
d6debb24e0
40 changed files with 30 additions and 55 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue