summaryrefslogtreecommitdiff
path: root/Lib/test/test_decimal.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-03-27 16:05:26 +0200
committerGitHub <noreply@github.com>2017-03-27 16:05:26 +0200
commitd6debb24e06152a827769b0cac24c47deccdeac1 (patch)
treef26655d4333391e344dac8cbf6cf2dc08c18b8b4 /Lib/test/test_decimal.py
parent604e74c6beb2585c81083fa85f0e5a4d46965cbc (diff)
downloadcpython-git-d6debb24e06152a827769b0cac24c47deccdeac1.tar.gz
bpo-29919: Remove unused imports found by pyflakes (#137)
Make also minor PEP8 coding style fixes on modified imports.
Diffstat (limited to 'Lib/test/test_decimal.py')
-rw-r--r--Lib/test/test_decimal.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py
index 48360d1bae..53f71caa3f 100644
--- a/Lib/test/test_decimal.py
+++ b/Lib/test/test_decimal.py
@@ -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']