On Sun, Dec 26, 2010 at 02:37:31AM +0100, Jelmer Vernooij wrote:
> === modified file 'Makefile'
> --- Makefile  2010-12-20 14:47:32 +0000
> +++ Makefile  2010-12-26 01:09:46 +0000
> @@ -1,8 +1,12 @@
>  PYTHON = python
>  SETUP = $(PYTHON) setup.py
>  PYDOCTOR ?= pydoctor
> -TESTRUNNER = $(shell which nosetests)
> -TESTFLAGS =
> +ifeq ($(shell $(PYTHON) -c "import sys; print sys.version_info >= (2, 
> 7)"),True)
> +TESTRUNNER = unittest
> +else
> +TESTRUNNER = testtools
^^ s/testtools/testtools.run/

Cheers,

Jelmer

_______________________________________________
Mailing list: https://launchpad.net/~dulwich-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dulwich-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to