##// END OF EJS Templates
IPython.testing.decorators is imported as dec everywhere else, unify....
Thomas Spura -
Show More
@@ -5,10 +5,10 b' import os'
5 5 import tempfile
6 6
7 7 from IPython.core.application import BaseIPythonApplication
8 from IPython.testing import decorators as testdec
8 from IPython.testing import decorators as dec
9 9 from IPython.utils import py3compat
10 10
11 @testdec.onlyif_unicode_paths
11 @dec.onlyif_unicode_paths
12 12 def test_unicode_cwd():
13 13 """Check that IPython starts with non-ascii characters in the path."""
14 14 wd = tempfile.mkdtemp(suffix=u"€")
@@ -25,7 +25,7 b' def test_unicode_cwd():'
25 25 finally:
26 26 os.chdir(old_wd)
27 27
28 @testdec.onlyif_unicode_paths
28 @dec.onlyif_unicode_paths
29 29 def test_unicode_ipdir():
30 30 """Check that IPython starts with non-ascii characters in the IP dir."""
31 31 ipdir = tempfile.mkdtemp(suffix=u"€")
@@ -17,7 +17,7 b' from time import sleep'
17 17 import sys
18 18
19 19 from IPython.frontend.process import PipedProcess
20 from IPython.testing import decorators as testdec
20 from IPython.testing import decorators as dec
21 21
22 22
23 23 def test_capture_out():
@@ -47,7 +47,7 b' def test_io():'
47 47 assert result == test_string
48 48
49 49
50 @testdec.skip_win32
50 @dec.skip_win32
51 51 def test_kill():
52 52 """ Check that we can kill a process, and its subprocess.
53 53 """
General Comments 0
You need to be logged in to leave comments. Login now