diff --git a/IPython/core/tests/test_application.py b/IPython/core/tests/test_application.py index a1d0474..5af7f06 100644 --- a/IPython/core/tests/test_application.py +++ b/IPython/core/tests/test_application.py @@ -5,10 +5,10 @@ import os import tempfile from IPython.core.application import BaseIPythonApplication -from IPython.testing import decorators as testdec +from IPython.testing import decorators as dec from IPython.utils import py3compat -@testdec.onlyif_unicode_paths +@dec.onlyif_unicode_paths def test_unicode_cwd(): """Check that IPython starts with non-ascii characters in the path.""" wd = tempfile.mkdtemp(suffix=u"€") @@ -25,7 +25,7 @@ def test_unicode_cwd(): finally: os.chdir(old_wd) -@testdec.onlyif_unicode_paths +@dec.onlyif_unicode_paths def test_unicode_ipdir(): """Check that IPython starts with non-ascii characters in the IP dir.""" ipdir = tempfile.mkdtemp(suffix=u"€") diff --git a/IPython/deathrow/oldfrontend/tests/test_process.py b/IPython/deathrow/oldfrontend/tests/test_process.py index df96626..9e43487 100644 --- a/IPython/deathrow/oldfrontend/tests/test_process.py +++ b/IPython/deathrow/oldfrontend/tests/test_process.py @@ -17,7 +17,7 @@ from time import sleep import sys from IPython.frontend.process import PipedProcess -from IPython.testing import decorators as testdec +from IPython.testing import decorators as dec def test_capture_out(): @@ -47,7 +47,7 @@ def test_io(): assert result == test_string -@testdec.skip_win32 +@dec.skip_win32 def test_kill(): """ Check that we can kill a process, and its subprocess. """