Permalink
Browse files

Remove capitalised exit forms.

  • Loading branch information...
1 parent a1be81f commit 14fdb87598eedcad34043065062246fe0d4797f8 @takluyver committed Apr 11, 2011
Showing with 4 additions and 4 deletions.
  1. +2 −2 IPython/core/interactiveshell.py
  2. +2 −2 IPython/lib/tests/test_irunner.py
@@ -1028,8 +1028,8 @@ def init_user_ns(self):
# Store myself as the public api!!!
ns['get_ipython'] = self.get_ipython
- for n in ['exit', 'Exit', 'quit', 'Quit']:
- ns[n] = self.exiter
+ ns['exit'] = self.exiter
+ ns['quit'] = self.exiter
# Sync what we've added so far to user_ns_hidden so these aren't seen
# by %who
@@ -77,7 +77,7 @@ def testIPython(self):
print "that's all folks!"
-Exit
+exit
"""
output = """\
In [1]: print 'hello, this is python'
@@ -124,7 +124,7 @@ def testIPython(self):
that's all folks!
-In [12]: Exit
+In [12]: exit
"""
runner = irunner.IPythonRunner(out=self.out)
self._test_runner(runner,source,output)

0 comments on commit 14fdb87

Please sign in to comment.