Show More
@@ -1028,8 +1028,8 b' class InteractiveShell(Configurable, Magic):' | |||||
1028 | # Store myself as the public api!!! |
|
1028 | # Store myself as the public api!!! | |
1029 | ns['get_ipython'] = self.get_ipython |
|
1029 | ns['get_ipython'] = self.get_ipython | |
1030 |
|
1030 | |||
1031 | for n in ['exit', 'Exit', 'quit', 'Quit']: |
|
1031 | ns['exit'] = self.exiter | |
1032 |
|
|
1032 | ns['quit'] = self.exiter | |
1033 |
|
1033 | |||
1034 | # Sync what we've added so far to user_ns_hidden so these aren't seen |
|
1034 | # Sync what we've added so far to user_ns_hidden so these aren't seen | |
1035 | # by %who |
|
1035 | # by %who |
@@ -77,7 +77,7 b' for i in range(5):' | |||||
77 |
|
77 | |||
78 | print "that's all folks!" |
|
78 | print "that's all folks!" | |
79 |
|
79 | |||
80 |
|
|
80 | exit | |
81 | """ |
|
81 | """ | |
82 | output = """\ |
|
82 | output = """\ | |
83 | In [1]: print 'hello, this is python' |
|
83 | In [1]: print 'hello, this is python' | |
@@ -124,7 +124,7 b' In [11]: print "that\'s all folks!"' | |||||
124 | that's all folks! |
|
124 | that's all folks! | |
125 |
|
125 | |||
126 |
|
126 | |||
127 |
In [12]: |
|
127 | In [12]: exit | |
128 | """ |
|
128 | """ | |
129 | runner = irunner.IPythonRunner(out=self.out) |
|
129 | runner = irunner.IPythonRunner(out=self.out) | |
130 | self._test_runner(runner,source,output) |
|
130 | self._test_runner(runner,source,output) |
General Comments 0
You need to be logged in to leave comments.
Login now