##// END OF EJS Templates
When I merge ipython1.external into IPython, I didn't see that IPython had its own external ...
When I merge ipython1.external into IPython, I didn't see that IPython had its own external subpackage. I have now combined these two into one, removing repetitions.

File last commit:

r1234:52b55407
r1236:290737d0
Show More
tcommon.py
36 lines | 753 B | text/x-python | PythonLexer
"""Common utilities for testing IPython.
This file is meant to be used as
from IPython.testutils.tcommon import *
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:
from IPython.testutils.ipdoctest import IPDocTestLoader,makeTestSuite