##// END OF EJS Templates
Emergency fix for py3 breakage introduced in 576f6f (merge of #1538)...
Emergency fix for py3 breakage introduced in 576f6f (merge of #1538) Unicode literals (u'foo') aren't valid in Python 3.{1,2} (they will be again in 3.3, and I failed to notice this. This is a quick fix, will discuss further on-list. But I want master to remain working for py3 users.

File last commit:

r2492:7d1b5074
r6446:74c10b3c
Show More
iptest
24 lines | 588 B | text/plain | TextLexer
#!/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()