From 54d1ef583717f70eb5b6f48c388db35c58473567 2022-01-17 17:05:26 From: Matthias Bussonnier Date: 2022-01-17 17:05:26 Subject: [PATCH] remove/deduplicate tests with u-prefix --- diff --git a/IPython/utils/tests/test_process.py b/IPython/utils/tests/test_process.py index b547cc5..62265aa 100644 --- a/IPython/utils/tests/test_process.py +++ b/IPython/utils/tests/test_process.py @@ -61,12 +61,11 @@ def test_find_cmd_fail(): "argstr, argv", [ ("hi", ["hi"]), - (u"hi", [u"hi"]), ("hello there", ["hello", "there"]), # \u01ce == \N{LATIN SMALL LETTER A WITH CARON} # Do not use \N because the tests crash with syntax error in # some cases, for example windows python2.6. - (u"h\u01cello", [u"h\u01cello"]), + ("h\u01cello", ["h\u01cello"]), ('something "with quotes"', ["something", '"with quotes"']), ], ) @@ -80,9 +79,8 @@ def test_arg_split(argstr, argv): "argstr,argv", [ ("hi", ["hi"]), - (u"hi", [u"hi"]), ("hello there", ["hello", "there"]), - (u"h\u01cello", [u"h\u01cello"]), + ("h\u01cello", ["h\u01cello"]), ('something "with quotes"', ["something", "with quotes"]), ], )