Show More
@@ -408,6 +408,11 b' def test_get_py_filename():' | |||
|
408 | 408 | nt.assert_raises(IOError, path.get_py_filename, "'foo with spaces.py'", force_win32=False) |
|
409 | 409 | |
|
410 | 410 | def test_unicode_in_filename(): |
|
411 | """When a file doesn't exist, the exception raised should be safe to call | |
|
412 | str() on - i.e. in Python 2 it must only have ASCII characters. | |
|
413 | ||
|
414 | https://github.com/ipython/ipython/issues/875 | |
|
415 | """ | |
|
411 | 416 | try: |
|
412 | 417 | # these calls should not throw unicode encode exceptions |
|
413 | 418 | path.get_py_filename(u'fooéè.py', force_win32=False) |
General Comments 0
You need to be logged in to leave comments.
Login now