##// END OF EJS Templates
Fixing a few small bugs in the setup.py scripts. In setupbase.py, in find_scripts, ipython...
Fixing a few small bugs in the setup.py scripts. In setupbase.py, in find_scripts, ipython was spelled as lowercase. This didn't cause a problem on OS X as it is case insensitive. But on Linux, it crashed. Now ipython is spelled properly as "IPython". Also, kernel/config/tests and UserConfig were missing their __init__.py files. These have been added.

File last commit:

r1237:7c8d2f7b
r1254:19bd8e77
Show More
tcommon.py
36 lines | 749 B | text/x-python | PythonLexer
Brian E Granger
This is a manual merge of certain things in the ipython1-dev branch, revision 46, into the main ...
r1234 """Common utilities for testing IPython.
This file is meant to be used as
Brian E Granger
Initial work towards refactoring the setup.py scripts to accept the new ipython1 packages...
r1237 from IPython.testing.tcommon import *
Brian E Granger
This is a manual merge of certain things in the ipython1-dev branch, revision 46, into the main ...
r1234
by any test code.
While a bit ugly, this helps us keep all testing facilities in one place, and
start coding standalone test scripts easily, which can then be pasted into the
larger test suites without any modifications required.
"""
# Required modules and packages
# Standard Python lib
import cPickle as pickle
import doctest
import math
import os
import sys
import unittest
from pprint import pformat, pprint
# From the IPython test lib
import tutils
from tutils import fullPath
try:
import pexpect
except ImportError:
pexpect = None
else:
Brian E Granger
Initial work towards refactoring the setup.py scripts to accept the new ipython1 packages...
r1237 from IPython.testing.ipdoctest import IPDocTestLoader,makeTestSuite
Brian E Granger
This is a manual merge of certain things in the ipython1-dev branch, revision 46, into the main ...
r1234