tags 668691 + fixed pending thanks On Sat, Apr 14, 2012 at 10:27:27AM +0900, Koichi Akabe wrote: > Package: python3-pytest > Version: 2.2.3-2 > Severity: normal > > Dear Maintainer, > > py.test.sh doesn't get the version number of python. > The following code is on py.test.sh: > > > case $PYVERSION in > > "[0-9].[0-9]"|"[0-9]") ;; > > *) PYVERSION='';; #If ill-formed version, use the default. > > esac > > This code fails to check PYVERSION and always sets '' to PYVERSION
Thank you for reporting this, it is now fixed in the SVN repository. I intend to (ask Stefano to) upload it as soon as I will have written some tests to avoid a regression in the future. In the mean time, you can tell pytest to use the version X.Y of python by using the following command instead of py.test-X.Y : `pythonX.Y -m pytest` Cheers, Simon
signature.asc
Description: Digital signature