##// END OF EJS Templates
Add a test for the error previously discovered.
gvaroquaux -
Show More
@@ -0,0 +1,26 b''
1 # encoding: utf-8
2
3 """This file contains unittests for the interpreter.py module."""
4
5 __docformat__ = "restructuredtext en"
6
7 #-----------------------------------------------------------------------------
8 # Copyright (C) 2008 The IPython Development Team
9 #
10 # Distributed under the terms of the BSD License. The full license is in
11 # the file COPYING, distributed as part of this software.
12 #-----------------------------------------------------------------------------
13
14 #-----------------------------------------------------------------------------
15 # Imports
16 #-----------------------------------------------------------------------------
17
18 from IPython.kernel.core.interpreter import Interpreter
19
20 def test_unicode():
21 """ Test unicode handling with the interpreter.
22 """
23 i = Interpreter()
24 i.execute_python(u'print "ù"')
25 i.execute_python('print "ù"')
26
@@ -5,9 +5,9 b' import os'
5 import sys
5 import sys
6
6
7 # Add my local path to sys.path
7 # Add my local path to sys.path
8 home = os.environ['HOME']
8 #home = os.environ['HOME']
9 sys.path.insert(0,'%s/usr/local/lib/python%s/site-packages' %
9 #sys.path.insert(0,'%s/usr/local/lib/python%s/site-packages' %
10 (home,sys.version[:3]))
10 # (home,sys.version[:3]))
11
11
12 # now, import setuptools and call the actual setup
12 # now, import setuptools and call the actual setup
13 import setuptools
13 import setuptools
General Comments 0
You need to be logged in to leave comments. Login now