diff --git a/Makefile b/Makefile
index fddb62eaf21774d0e0c80df85d5f437ffc8ac3bb_TWFrZWZpbGU=..c96bf9e61598c6e9ed26f726bae24ac7bcc404f1_TWFrZWZpbGU= 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,8 @@
 tests-%:
 	@echo "Path to crew repo is $(CREW) - set this with CREW= if needed."
 	hg -R $(CREW) checkout $$(echo $@ | sed s/tests-//) && \
-	(cd $(CREW) ; $(MAKE) clean ) && \
+	(cd $(CREW) ; $(MAKE) clean local) && \
+	PYTHONPATH=$(CREW) $(PYTHON) -m doctest hggit/*.py contrib/*.py && \
 	cd tests && $(PYTHON) $(CREW)/tests/run-tests.py $(TESTFLAGS)
 
 # This is intended to be the authoritative list of Hg versions that this