##// END OF EJS Templates
Merge pull request #10485 from Carreau/unused-imports...
Thomas Kluyver -
r23576:fcbde473 merge
parent child Browse files
Show More
@@ -4,15 +4,13 b''
4 4 # Copyright (c) IPython Development Team.
5 5 # Distributed under the terms of the Modified BSD License.
6 6
7 import errno
8 7 import os
9 8 import shutil
10 9 import sys
11 10 import tempfile
12 import warnings
13 11 from contextlib import contextmanager
14 12 from unittest.mock import patch
15 from os.path import join, abspath, split
13 from os.path import join, abspath
16 14 from imp import reload
17 15
18 16 from nose import SkipTest, with_setup
@@ -25,7 +23,6 b' from IPython.testing.decorators import (skip_if_not_win32, skip_win32,'
25 23 onlyif_unicode_paths,)
26 24 from IPython.testing.tools import make_tempfile, AssertPrints
27 25 from IPython.utils import path
28 from IPython.utils import py3compat
29 26 from IPython.utils.tempdir import TemporaryDirectory
30 27
31 28 # Platform-dependent imports
@@ -315,7 +312,7 b' def test_unicode_in_filename():'
315 312 """
316 313 try:
317 314 # these calls should not throw unicode encode exceptions
318 path.get_py_filename('fooéè.py', force_win32=False)
315 path.get_py_filename('fooéè.py', force_win32=False)
319 316 except IOError as ex:
320 317 str(ex)
321 318
General Comments 0
You need to be logged in to leave comments. Login now