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

Skip to content

Commit 4e1c56c

Browse files
authored
Merge pull request #13739 from Carreau/black
MAINT: run black on files that ends up in a single line change.
2 parents 1061a1e + f5d4e0a commit 4e1c56c

8 files changed

Lines changed: 6 additions & 2 deletions

File tree

IPython/core/tests/print_argv.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
import sys
2+
23
print(sys.argv[1:])

IPython/core/tests/test_autocall.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from IPython.core.splitinput import LineInfo
99
from IPython.core.prefilter import AutocallChecker
1010

11+
1112
def doctest_autocall():
1213
"""
1314
In [1]: def f1(a,b,c):

IPython/core/tests/test_splitinput.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
def test_split_user_input():
3333
return tt.check_pairs(split_user_input, tests)
3434

35+
3536
def test_LineInfo():
3637
"""Simple test for LineInfo construction and str()"""
3738
linfo = LineInfo(" %cd /home")

IPython/lib/tests/test_clipboard.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from IPython.lib.clipboard import ClipboardEmpty
33
from IPython.testing.decorators import skip_if_no_x11
44

5+
56
@skip_if_no_x11
67
def test_clipboard_get():
78
# Smoketest for clipboard access - we can't easily guarantee that the

IPython/utils/contexts.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Copyright (c) IPython Development Team.
88
# Distributed under the terms of the Modified BSD License.
99

10+
1011
class preserve_keys(object):
1112
"""Preserve a set of keys in a dictionary.
1213

IPython/utils/eventful.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
from warnings import warn
32

43
warn("IPython.utils.eventful has moved to traitlets.eventful", stacklevel=2)

IPython/utils/log.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
from warnings import warn
32

43
warn("IPython.utils.log has moved to traitlets.log", stacklevel=2)

IPython/utils/tempdir.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ class TemporaryWorkingDirectory(TemporaryDirectory):
4848
with TemporaryWorkingDirectory() as tmpdir:
4949
...
5050
"""
51+
5152
def __enter__(self):
5253
self.old_wd = Path.cwd()
5354
_os.chdir(self.name)

0 commit comments

Comments
 (0)