Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix error message in test_irunner #431

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Split
@@ -2130,7 +2130,7 @@ def run_cell(self, raw_cell, store_history=True):
prefilter_failed = False
if len(cell.splitlines()) == 1:
try:
- cell = self.prefilter_manager.prefilter_lines(cell)
+ cell = self.prefilter_manager.prefilter_line(cell)
except AliasError as e:
error(e)
prefilter_failed=True
@@ -105,10 +105,10 @@ def testIPython(self):
Automatic calling is: OFF
In [8]: cos pi
- File "<ipython-input-8-586f1104ea44>", line 1
+ File "<ipython-input-8-6bd7313dd9a9>", line 1
cos pi
^
-SyntaxError: unexpected EOF while parsing
+SyntaxError: invalid syntax
In [9]: cos(pi)