Show More
@@ -28,7 +28,8 b' from nose import with_setup' | |||
|
28 | 28 | |
|
29 | 29 | import IPython |
|
30 | 30 | from IPython.testing import decorators as dec |
|
31 | from IPython.testing.decorators import skip_if_not_win32, skip_win32 | |
|
31 | from IPython.testing.decorators import (skip_if_not_win32, skip_win32, | |
|
32 | onlyif_unicode_paths,) | |
|
32 | 33 | from IPython.testing.tools import make_tempfile, AssertPrints |
|
33 | 34 | from IPython.utils import path |
|
34 | 35 | from IPython.utils import py3compat |
@@ -479,7 +480,8 b' def test_get_py_filename():' | |||
|
479 | 480 | else: |
|
480 | 481 | nt.assert_raises(IOError, path.get_py_filename, '"foo with spaces.py"', force_win32=False) |
|
481 | 482 | nt.assert_raises(IOError, path.get_py_filename, "'foo with spaces.py'", force_win32=False) |
|
482 | ||
|
483 | ||
|
484 | @onlyif_unicode_paths | |
|
483 | 485 | def test_unicode_in_filename(): |
|
484 | 486 | """When a file doesn't exist, the exception raised should be safe to call |
|
485 | 487 | str() on - i.e. in Python 2 it must only have ASCII characters. |
General Comments 0
You need to be logged in to leave comments.
Login now