Skip to content
Browse files

cos pi gives a syntax error when autocall is off.

  • Loading branch information...
1 parent f891240 commit 1b4117716d99fad1bb34c786198444725bab385e Jens Hedegaard Nielsen committed May 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/lib/tests/
2 IPython/lib/tests/
@@ -108,7 +108,7 @@ def testIPython(self):
File "<ipython-input-8-586f1104ea44>", line 1
cos pi
-SyntaxError: unexpected EOF while parsing
+SyntaxError: invalid syntax
In [9]: cos(pi)

3 comments on commit 1b41177


I'm also seeing this test fail on this. I wonder if it's to do with moving from Python 2.6 to 2.7.


Yes I also think it might. I see the test falling on ubuntu 11.04 (with python2.7) using a resent ipython 0.11dev and the test is
not failing on ubuntu 10.10 using python 2.6. However I always get the invalid syntax error if I try to run
"cos pi"
in ipython0.10.0 using python2.6 and when I use a standard python2.6 and 2.7 shell.


Interesting. I also started seeing it after upgrading Ubuntu. Do you want to make a pull request, to get other people testing it?

Please sign in to comment.
Something went wrong with that request. Please try again.