[Cython] lshift_int test failing Re: Cython 0.25.2

Yaroslav Halchenko lists at onerussian.com
Mon Nov 21 00:36:01 EST 2016



On Thu, 17 Nov 2016, Robert Bradshaw wrote:

> I'm preparing another bugfix release. Try it out at

> https://github.com/cython/cython/archive/966a296ac4e4862dee9a571ee412886ca3c61144.zip

on some platforms , e.g. armel:
https://buildd.debian.org/status/fetch.php?pkg=cython&arch=armel&ver=0.25.2~b0-1&stamp=1479637337
https://buildd.debian.org/status/fetch.php?pkg=cython&arch=armhf&ver=0.25.2~b0-1&stamp=1479632680
and even 
https://buildd.debian.org/status/fetch.php?pkg=cython&arch=i386&ver=0.25.2~b0-1&stamp=1479619359
(although there it looks even with other additional failure in the test, please checkout):

======================================================================
FAIL: lshift_int (line 137) (pyintop.__test__)
Doctest: pyintop.__test__.lshift_int (line 137)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for pyintop.__test__.lshift_int (line 137)
  File "/«PKGBUILDDIR»/build/work-dir/3/run/c/pyintop/pyintop.so", line unknown line number, in lshift_int (line 137)

----------------------------------------------------------------------
File "/«PKGBUILDDIR»/build/work-dir/3/run/c/pyintop/pyintop.so", line ?, in pyintop.__test__.lshift_int (line 137)
Failed example:
    (2**28) << 3
Expected:
    2147483648
Got:
    2147483648L
----------------------------------------------------------------------
File "/«PKGBUILDDIR»/build/work-dir/3/run/c/pyintop/pyintop.so", line ?, in pyintop.__test__.lshift_int (line 137)
Failed example:
    (2**30) << 3
Expected:
    8589934592
Got:
    8589934592L


======================================================================
FAIL: lshift_int (line 137) (pyintop.__test__)
Doctest: pyintop.__test__.lshift_int (line 137)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/doctest.py", line 2226, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for pyintop.__test__.lshift_int (line 137)
  File "/«PKGBUILDDIR»/build/work-dir/3/run/cpp/pyintop/pyintop.so", line unknown line number, in lshift_int (line 137)

----------------------------------------------------------------------
File "/«PKGBUILDDIR»/build/work-dir/3/run/cpp/pyintop/pyintop.so", line ?, in pyintop.__test__.lshift_int (line 137)
Failed example:
    (2**28) << 3
Expected:
    2147483648
Got:
    2147483648L
----------------------------------------------------------------------
File "/«PKGBUILDDIR»/build/work-dir/3/run/cpp/pyintop/pyintop.so", line ?, in pyintop.__test__.lshift_int (line 137)
Failed example:
    (2**30) << 3
Expected:
    8589934592
Got:
    8589934592L


----------------------------------------------------------------------
Ran 2377 tests in 4617.354s

FAILED (failures=2)

-- 
Yaroslav O. Halchenko
Center for Open Neuroscience     http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        


More information about the cython-devel mailing list