[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems upgrading r-cran-fastcluster due to failed test in Python module



On Thursday, 17 November 2016 11:24:36 CET Gard Spreemann wrote:
> However, the python3 version now fails with:
> 
>   File "/build/r-cran-fastcluster-1.1.21/src/python/tests/nantest.py", line
> 7, in <module>
>     Copyright (c) 2011 Daniel M\xfcllner, <http://danifold.net>''')
>  UnicodeEncodeError: 'ascii' codec can't encode character '\xfc' in position
> 72: ordinal not in range(128)
>  E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1:
> python3.5 setup.py test
>

Sorry, I somehow skipped a line in that output. For completeness, the
corresponding lines in src/python/tests/nantest.py (and test.py and
vectortest.py) are:

 print('''
 Test program for the 'fastcluster' package.
 Copyright (c) 2011 Daniel Müllner, <http://danifold.net>''')


--
 Best,
 Gard
 


Reply to: