##// END OF EJS Templates
Fixing bugs and adding comment
Brian Granger -
Show More
@@ -136,7 +136,7 b' def start_ipython():'
136 136 config = tools.default_config()
137 137
138 138 # Create and initialize our test-friendly IPython instance.
139 shell = iplib.InteractiveShell(
139 shell = iplib.InteractiveShell.instance(
140 140 config=config,
141 141 user_ns=ipnsdict(), user_global_ns={}
142 142 )
@@ -401,6 +401,8 b' class HasTraits(object):'
401 401
402 402 def __init__(self, **kw):
403 403 # Allow trait values to be set using keyword arguments.
404 # We need to use setattr for this to trigger validation and
405 # notifications.
404 406 for key, value in kw.iteritems():
405 407 setattr(self, key, value)
406 408
General Comments 0
You need to be logged in to leave comments. Login now