##// 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
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
>>> from IPython.testing.tcommon import *
# Rest of doctest goes here...
Manually generated tests
------------------------
These are one-off tests written by hand, copied from an interactive prompt.