##// 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:

r0:6f629fcc
r1614:9dcfcfc5
Show More
ipythonrc-tutorial
37 lines | 1.2 KiB | text/plain | TextLexer
# -*- Mode: Shell-Script -*- Not really, but shows comments correctly
#***************************************************************************
#
# Configuration file for ipython -- ipythonrc format
#
# The format of this file is one of 'key value' lines.
# Lines containing only whitespace at the beginning and then a # are ignored
# as comments. But comments can NOT be put on lines with data.
#***************************************************************************
# If this file is found in the user's ~/.ipython directory as
# ipythonrc-tutorial, it can be loaded by calling passing the '-profile
# tutorial' (or '-p tutorial') option to IPython.
# This profile loads a special input line filter to allow typing lines which
# begin with '>>> ' or '... '. These two strings, if present at the start of
# the input line, are stripped. This allows for direct pasting of code from
# examples such as those available in the standard Python tutorial.
# First load basic user configuration
include ipythonrc
# import ...
# Module with alternate input syntax for pasting python input
import_mod IPython.Extensions.InterpreterPasteInput
# from ... import *
import_all
# from ... import ...
import_some
# code
execute
# Files to execute
execfile