Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59871e1

Browse files
committed
autoformat
1 parent bf6638e commit 59871e1

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

IPython/utils/tests/test_path.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,14 +407,14 @@ def test_match_windows(self):
407407

408408

409409
@pytest.mark.parametrize(
410-
'globstr, unescaped_globstr',
410+
"globstr, unescaped_globstr",
411411
[
412412
(r"\*\[\!\]\?", "*[!]?"),
413413
(r"\\*", r"\*"),
414414
(r"\\\*", r"\*"),
415415
(r"\\a", r"\a"),
416-
(r"\a", r"\a")
417-
]
416+
(r"\a", r"\a"),
417+
],
418418
)
419419
def test_unescape_glob(globstr, unescaped_globstr):
420420
assert path.unescape_glob(globstr) == unescaped_globstr

IPython/utils/tests/test_process.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,17 @@ def test_find_cmd_fail():
5858

5959
@dec.skip_win32
6060
@pytest.mark.parametrize(
61-
'argstr, argv',
61+
"argstr, argv",
6262
[
63-
('hi', ['hi']),
64-
(u'hi', [u'hi']),
65-
('hello there', ['hello', 'there']),
63+
("hi", ["hi"]),
64+
(u"hi", [u"hi"]),
65+
("hello there", ["hello", "there"]),
6666
# \u01ce == \N{LATIN SMALL LETTER A WITH CARON}
6767
# Do not use \N because the tests crash with syntax error in
6868
# some cases, for example windows python2.6.
69-
(u'h\u01cello', [u'h\u01cello']),
70-
('something "with quotes"', ['something', '"with quotes"']),
71-
]
69+
(u"h\u01cello", [u"h\u01cello"]),
70+
('something "with quotes"', ["something", '"with quotes"']),
71+
],
7272
)
7373
def test_arg_split(argstr, argv):
7474
"""Ensure that argument lines are correctly split like in a shell."""
@@ -77,14 +77,14 @@ def test_arg_split(argstr, argv):
7777

7878
@dec.skip_if_not_win32
7979
@pytest.mark.parametrize(
80-
'argstr,argv',
80+
"argstr,argv",
8181
[
82-
('hi', ['hi']),
83-
(u'hi', [u'hi']),
84-
('hello there', ['hello', 'there']),
85-
(u'h\u01cello', [u'h\u01cello']),
86-
('something "with quotes"', ['something', 'with quotes']),
87-
]
82+
("hi", ["hi"]),
83+
(u"hi", [u"hi"]),
84+
("hello there", ["hello", "there"]),
85+
(u"h\u01cello", [u"h\u01cello"]),
86+
('something "with quotes"', ["something", "with quotes"]),
87+
],
8888
)
8989
def test_arg_split_win32(argstr, argv):
9090
"""Ensure that argument lines are correctly split like in a shell."""

0 commit comments

Comments
 (0)