File: iptest

package info (click to toggle)
ipython 0.13.1-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 15,752 kB
  • sloc: python: 69,537; makefile: 355; lisp: 272; sh: 80; objc: 37
file content (24 lines) | stat: -rwxr-xr-x 588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""IPython Test Suite Runner.
"""

# The tests can't even run if nose isn't available, so might as well  give the
# user a civilized error message in that case.

try:
    import nose
except ImportError:
    error = """\
ERROR: The IPython test suite requires nose to run.

Please install nose on your system first and try again.
For information on installing nose, see:
http://somethingaboutorange.com/mrl/projects/nose

Exiting."""
    import sys
    print >> sys.stderr, error
else:
    from IPython.testing import iptest
    iptest.main()