##// END OF EJS Templates
MAINT: run black on files that ends up in a single line change....
Matthias Bussonnier -
Show More
@@ -1,2 +1,3 b''
1 1 import sys
2
2 3 print(sys.argv[1:])
@@ -8,6 +8,7 b" with better-isolated tests that don't rely on the global instance in iptest."
8 8 from IPython.core.splitinput import LineInfo
9 9 from IPython.core.prefilter import AutocallChecker
10 10
11
11 12 def doctest_autocall():
12 13 """
13 14 In [1]: def f1(a,b,c):
@@ -32,6 +32,7 b' tests.append(("P\xc3\xa9rez Fernando", ("", "", "P\xc3\xa9rez", "Fernando")))'
32 32 def test_split_user_input():
33 33 return tt.check_pairs(split_user_input, tests)
34 34
35
35 36 def test_LineInfo():
36 37 """Simple test for LineInfo construction and str()"""
37 38 linfo = LineInfo(" %cd /home")
@@ -2,6 +2,7 b' from IPython.core.error import TryNext'
2 2 from IPython.lib.clipboard import ClipboardEmpty
3 3 from IPython.testing.decorators import skip_if_no_x11
4 4
5
5 6 @skip_if_no_x11
6 7 def test_clipboard_get():
7 8 # Smoketest for clipboard access - we can't easily guarantee that the
@@ -7,6 +7,7 b' import warnings'
7 7 # Copyright (c) IPython Development Team.
8 8 # Distributed under the terms of the Modified BSD License.
9 9
10
10 11 class preserve_keys(object):
11 12 """Preserve a set of keys in a dictionary.
12 13
@@ -1,4 +1,3 b''
1
2 1 from warnings import warn
3 2
4 3 warn("IPython.utils.eventful has moved to traitlets.eventful", stacklevel=2)
@@ -1,4 +1,3 b''
1
2 1 from warnings import warn
3 2
4 3 warn("IPython.utils.log has moved to traitlets.log", stacklevel=2)
@@ -48,6 +48,7 b' class TemporaryWorkingDirectory(TemporaryDirectory):'
48 48 with TemporaryWorkingDirectory() as tmpdir:
49 49 ...
50 50 """
51
51 52 def __enter__(self):
52 53 self.old_wd = Path.cwd()
53 54 _os.chdir(self.name)
General Comments 0
You need to be logged in to leave comments. Login now