##// END OF EJS Templates
Fixing a nasty bug in test_frontend.py that was leading to all sorts...
Fixing a nasty bug in test_frontend.py that was leading to all sorts of weird problems with our test suite like random test errors and unhandled errors in Deferreds. There are 3 problems with this test module: 1. Doesn't use twisted.trial.unittest.TestCase as a base class 2. Test methods don't return Deferreds 3. One test method actually has an unhandled error in a Deferred The only thing I have don't is put a @skip decorator on test_error_callback_added_to_execute to hide 3. All of these things still need to be fixed though. But our tests now pass.

File last commit:

r1332:9a4b350a
r1614:9dcfcfc5
Show More
tstTEMPLATE_doctest.txt
24 lines | 659 B | text/plain | TextLexer
/ IPython / testing / attic / tstTEMPLATE_doctest.txt
Brian E Granger
This is a manual merge of certain things in the ipython1-dev branch, revision 46, into the main ...
r1234 Doctests for the ``XXX`` module
=====================================
The way doctest loads these, the entire document is applied as a single test
rather than multiple individual ones, unfortunately.
Auto-generated tests
--------------------
The tests below are generated from the companion file
test_toeplitz_doctest.py, which is run via IPython's irunner script to create
valid doctest input automatically.
# Setup - all imports are done in tcommon
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
# Rest of doctest goes here...
Manually generated tests
------------------------
These are one-off tests written by hand, copied from an interactive prompt.