Hilko Bengen <ben...@debian.org> writes:

> thank you for your suggestions. I have enabled running upstream's tests
> and otherwise made the build script a bit simpler. Since there has been
> no reaction from any of the listed maintainers, I have NMU'd
> python-tz/2016.7-0.2 to DELAYED/3.

Unless I'm  mistaken, as you  have not  specified that pytest  should be
used (by  adding 'export PYBUILD_TEST_PYTEST=1' to  debian/rules), it is
still not used and no test is ran:

  I: pybuild pybuild:212:       cp /tmp/pytz-2016.7/README.txt 
/tmp/pytz-2016.7/.pybuild/pythonX.Y_2.7/build;   cp -r 
/tmp/pytz-2016.7/pytz/tests /tmp/pytz-2016.7/.pybuild/pythonX.Y_2.7/build/pytz/
  I: pybuild base:184: cd /tmp/pytz-2016.7/.pybuild/pythonX.Y_2.7/build; 
python2.7 -m unittest discover -v 
  
  ----------------------------------------------------------------------
  Ran 0 tests in 0.000s
  
  OK

After adding 'export PYBUILD_TEST_PYTEST=1' to debian/rules:

  I: pybuild base:184: cd /tmp/pytz-2016.7/.pybuild/pythonX.Y_2.7/build; 
python2.7 -m pytest 
  ========================================================================== 
test session starts 
===========================================================================
  platform linux2 -- Python 2.7.12+, pytest-3.0.4, py-1.4.31, pluggy-0.4.0
  rootdir: /tmp/pytz-2016.7, inifile: 
  collected 234 items 
  
  pytz/tests/test_docs.py ..
  pytz/tests/test_lazy.py .......................................
  pytz/tests/test_tzinfo.py 
.................................................................................................................................................................................................
  
  ======================================================================= 234 
passed in 0.54 seconds 
=======================================================================

-- 
Arnaud Fontaine

Attachment: signature.asc
Description: PGP signature

Reply via email to