[Numpy-discussion] Scalar math module is ready for testing

Steffen Loeck steffen.loeck at gmx.de
Fri Apr 28 01:34:07 CDT 2006


On Friday 28 April 2006 09:12 am, Travis Oliphant wrote:

> Please try it out and send us error reports.   Many thanks to Sasha for
> his help in getting all the code so it at least compiles and loads.  All
> bugs should be blamed on me, though...

Running the tests with numpy.test(10) i get:

/test/lib/python2.3/site-packages/numpy/testing/numpytest.py:179: 
DeprecationWarning: Non-ASCII character '\xf2' in 
file/test/lib/python2.3/site-packages/numpy/lib/tests/test_ufunclike.pyc on 
line 1, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details
  m = imp.load_module(name, open(filename), filename,('.py','U',1))
E................................../test/lib/python2.3/site-packages/numpy/testing/numpytest.py:179: 
DeprecationWarning: Non-ASCII character '\xf2' in file 
test/lib/python2.3/site-packages/numpy/lib/tests/test_polynomial.pyc on line 
1, but no encoding declared; see http://www.python.org/peps/pep-0263.html for 
details
  m = imp.load_module(name, open(filename), filename,('.py','U',1))
E...........................................................................
======================================================================
ERROR: check_doctests (numpy.lib.tests.test_ufunclike.test_docs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/test/lib/python2.3/site-packages/numpy/lib/tests/test_ufunclike.py", 
line 59, in check_doctests
    def check_doctests(self): return self.rundocs()
  File "/test//lib/python2.3/site-packages/numpy/testing/numpytest.py", line 
179, in rundocs
    m = imp.load_module(name, open(filename), filename,('.py','U',1))
  File "test/lib/python2.3/site-packages/numpy/lib/tests/test_ufunclike.pyc", 
line 1
    ;ò
    ^
SyntaxError: invalid syntax

======================================================================
ERROR: check_doctests (numpy.lib.tests.test_polynomial.test_docs)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/test/lib/python2.3/site-packages/numpy/lib/tests/test_polynomial.py", 
line 79, in check_doctests
    def check_doctests(self): return self.rundocs()
  File "/test//lib/python2.3/site-packages/numpy/testing/numpytest.py", line 
179, in rundocs
    m = imp.load_module(name, open(filename), filename,('.py','U',1))
  File 
"/test/lib/python2.3/site-packages/numpy/lib/tests/test_polynomial.pyc", line 
1
    ;ò
    ^
SyntaxError: invalid syntax

I have no idea, where this comes from.

Regards, Steffen





More information about the Numpy-discussion mailing list