Show More
@@ -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 |
|
|
3 | 2 | |
|
4 | 3 | warn("IPython.utils.eventful has moved to traitlets.eventful", stacklevel=2) |
General Comments 0
You need to be logged in to leave comments.
Login now