Show More
@@ -42,6 +42,7 b' sys.path.append(os.path.join(os.path.dirname(__file__), "extensions"))' | |||
|
42 | 42 | from IPython.core.iplib import InteractiveShell |
|
43 | 43 | from IPython.core.embed import embed |
|
44 | 44 | from IPython.core.error import TryNext |
|
45 | from IPython.testing import test | |
|
45 | 46 | |
|
46 | 47 | from IPython.lib import ( |
|
47 | 48 | enable_wx, disable_wx, |
@@ -61,4 +62,3 b' for author, email in release.authors.values():' | |||
|
61 | 62 | __license__ = release.license |
|
62 | 63 | __version__ = release.version |
|
63 | 64 | __revision__ = release.revision |
|
64 |
@@ -0,0 +1,18 b'' | |||
|
1 | """Testing support (tools to test IPython itself). | |
|
2 | """ | |
|
3 | ||
|
4 | # User-level entry point for testing | |
|
5 | def test(): | |
|
6 | """Run the entire IPython test suite. | |
|
7 | ||
|
8 | For fine-grained control, you should use the :file:`iptest` script supplied | |
|
9 | with the IPython installation.""" | |
|
10 | ||
|
11 | # Do the import internally, so that this function doesn't increase total | |
|
12 | # import time | |
|
13 | from iptest import run_iptestall | |
|
14 | run_iptestall() | |
|
15 | ||
|
16 | # So nose doesn't try to run this as a test itself and we end up with an | |
|
17 | # infinite test loop | |
|
18 | test.__test__ = False |
General Comments 0
You need to be logged in to leave comments.
Login now