From 237186ef70cc7af028c19328eda76edb04c849d8 2015-04-03 19:54:04 From: Thomas Kluyver Date: 2015-04-03 19:54:04 Subject: [PATCH] Fix process test on Windows Hopefully --- diff --git a/IPython/utils/tests/test_process.py b/IPython/utils/tests/test_process.py index 364dcd2..7228482 100644 --- a/IPython/utils/tests/test_process.py +++ b/IPython/utils/tests/test_process.py @@ -52,7 +52,7 @@ def has_pywin32(): def test_find_cmd_pythonw(): """Try to find pythonw on Windows.""" path = find_cmd('pythonw') - nt.assert_true(path.endswith('pythonw.exe')) + assert path.lower().endswith('pythonw.exe'), path @dec.onlyif(lambda : sys.platform != 'win32' or has_pywin32(),